public static enum WebSocketFrame.FrameType extends java.lang.Enum<WebSocketFrame.FrameType>
Enum Constant and Description |
---|
BINARY |
CLOSE |
CONTINUATION |
PING |
PONG |
TEXT |
Modifier and Type | Method and Description |
---|---|
static WebSocketFrame.FrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketFrame.FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketFrame.FrameType CONTINUATION
public static final WebSocketFrame.FrameType TEXT
public static final WebSocketFrame.FrameType BINARY
public static final WebSocketFrame.FrameType CLOSE
public static final WebSocketFrame.FrameType PING
public static final WebSocketFrame.FrameType PONG
public static WebSocketFrame.FrameType[] values()
for (WebSocketFrame.FrameType c : WebSocketFrame.FrameType.values()) System.out.println(c);
public static WebSocketFrame.FrameType 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