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