public static enum WebSocketEventListener.WebSocketEvent.TYPE extends java.lang.Enum<WebSocketEventListener.WebSocketEvent.TYPE>
| Enum Constant and Description |
|---|
CLOSE |
CONNECT |
CONTROL |
DISCONNECT |
HANDSHAKE |
MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketEventListener.WebSocketEvent.TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketEventListener.WebSocketEvent.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketEventListener.WebSocketEvent.TYPE CONNECT
public static final WebSocketEventListener.WebSocketEvent.TYPE HANDSHAKE
public static final WebSocketEventListener.WebSocketEvent.TYPE CLOSE
public static final WebSocketEventListener.WebSocketEvent.TYPE MESSAGE
public static final WebSocketEventListener.WebSocketEvent.TYPE CONTROL
public static final WebSocketEventListener.WebSocketEvent.TYPE DISCONNECT
public static WebSocketEventListener.WebSocketEvent.TYPE[] values()
for (WebSocketEventListener.WebSocketEvent.TYPE c : WebSocketEventListener.WebSocketEvent.TYPE.values()) System.out.println(c);
public static WebSocketEventListener.WebSocketEvent.TYPE valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018. All Rights Reserved.