private static enum WebSocketRemoteEndpoint.MsgType extends java.lang.Enum<WebSocketRemoteEndpoint.MsgType>
Enum Constant and Description |
---|
ASYNC |
BLOCKING |
PARTIAL_BINARY |
PARTIAL_TEXT |
STREAMING |
Modifier and Type | Method and Description |
---|---|
static WebSocketRemoteEndpoint.MsgType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketRemoteEndpoint.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketRemoteEndpoint.MsgType BLOCKING
public static final WebSocketRemoteEndpoint.MsgType ASYNC
public static final WebSocketRemoteEndpoint.MsgType STREAMING
public static final WebSocketRemoteEndpoint.MsgType PARTIAL_TEXT
public static final WebSocketRemoteEndpoint.MsgType PARTIAL_BINARY
public static WebSocketRemoteEndpoint.MsgType[] values()
for (WebSocketRemoteEndpoint.MsgType c : WebSocketRemoteEndpoint.MsgType.values()) System.out.println(c);
public static WebSocketRemoteEndpoint.MsgType 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 null