public enum WebSocketFrameType extends Enum<WebSocketFrameType>
Enum Constant and Description |
---|
BINARY
Binary frame.
|
CLOSE
Close frame.
|
CONTINUATION
Continuation frame.
|
PING
Ping frame.
|
PONG
Pong frame.
|
TEXT
Text frame.
|
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 CONTINUATION
public static final WebSocketFrameType TEXT
public static final WebSocketFrameType BINARY
public static final WebSocketFrameType CLOSE
public static final WebSocketFrameType PING
public static final WebSocketFrameType PONG
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 © 2024 Eclipse. All rights reserved.