public static enum WebSocketHandler.WebSocketMessageType extends Enum<WebSocketHandler.WebSocketMessageType>
| Enum Constant and Description |
|---|
WEB_SOCKET_MESSAGE_TYPE_AMQP |
WEB_SOCKET_MESSAGE_TYPE_CHUNK |
WEB_SOCKET_MESSAGE_TYPE_CLOSE |
WEB_SOCKET_MESSAGE_TYPE_HEADER_CHUNK |
WEB_SOCKET_MESSAGE_TYPE_PING |
WEB_SOCKET_MESSAGE_TYPE_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketHandler.WebSocketMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketHandler.WebSocketMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_UNKNOWN
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_CHUNK
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_HEADER_CHUNK
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_AMQP
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_PING
public static final WebSocketHandler.WebSocketMessageType WEB_SOCKET_MESSAGE_TYPE_CLOSE
public static WebSocketHandler.WebSocketMessageType[] values()
for (WebSocketHandler.WebSocketMessageType c : WebSocketHandler.WebSocketMessageType.values()) System.out.println(c);
public static WebSocketHandler.WebSocketMessageType 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 nullCopyright © 2020. All rights reserved.