org.eclipse.jetty.websocket
Enum WebSocketParserD08.State
java.lang.Object
java.lang.Enum<WebSocketParserD08.State>
org.eclipse.jetty.websocket.WebSocketParserD08.State
- All Implemented Interfaces:
- Serializable, Comparable<WebSocketParserD08.State>
- Enclosing class:
- WebSocketParserD08
public static enum WebSocketParserD08.State
- extends Enum<WebSocketParserD08.State>
START
public static final WebSocketParserD08.State START
OPCODE
public static final WebSocketParserD08.State OPCODE
LENGTH_7
public static final WebSocketParserD08.State LENGTH_7
LENGTH_16
public static final WebSocketParserD08.State LENGTH_16
LENGTH_63
public static final WebSocketParserD08.State LENGTH_63
MASK
public static final WebSocketParserD08.State MASK
PAYLOAD
public static final WebSocketParserD08.State PAYLOAD
DATA
public static final WebSocketParserD08.State DATA
SKIP
public static final WebSocketParserD08.State SKIP
values
public static WebSocketParserD08.State[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (WebSocketParserD08.State c : WebSocketParserD08.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WebSocketParserD08.State valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.