public enum WebSocketEventType extends Enum<WebSocketEventType>
| Modifier and Type | Method and Description |
|---|---|
static WebSocketEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketEventType OPEN
public static final WebSocketEventType CLOSE
public static final WebSocketEventType ERROR
public static final WebSocketEventType MESSAGE
public static WebSocketEventType[] values()
for (WebSocketEventType c : WebSocketEventType.values()) System.out.println(c);
public static WebSocketEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null