public static enum WebSocket.WebSocketFrameReadState extends Enum<WebSocket.WebSocketFrameReadState>
| Enum Constant and Description |
|---|
CHUNK_READ
Reading chunks of bytes until a full header is read
|
CONTINUED_FRAME_READ
Continue reading bytes until correct number of bytes are read
|
HEADER_READ
Full header has been read
|
INIT_READ
The initial read
|
READ_ERROR
An error reading
|
| Modifier and Type | Method and Description |
|---|---|
static WebSocket.WebSocketFrameReadState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocket.WebSocketFrameReadState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocket.WebSocketFrameReadState INIT_READ
public static final WebSocket.WebSocketFrameReadState CHUNK_READ
public static final WebSocket.WebSocketFrameReadState CONTINUED_FRAME_READ
public static final WebSocket.WebSocketFrameReadState HEADER_READ
public static final WebSocket.WebSocketFrameReadState READ_ERROR
public static WebSocket.WebSocketFrameReadState[] values()
for (WebSocket.WebSocketFrameReadState c : WebSocket.WebSocketFrameReadState.values()) System.out.println(c);
public static WebSocket.WebSocketFrameReadState 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 © 2019. All rights reserved.