private static enum HeaderParser.State extends java.lang.Enum<HeaderParser.State>
Enum Constant and Description |
---|
LENGTH |
LENGTH_BYTES |
PADDING |
REQUEST |
REQUEST_BYTES |
RESERVED |
TYPE |
VERSION |
Modifier and Type | Method and Description |
---|---|
static HeaderParser.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeaderParser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeaderParser.State VERSION
public static final HeaderParser.State TYPE
public static final HeaderParser.State REQUEST
public static final HeaderParser.State REQUEST_BYTES
public static final HeaderParser.State LENGTH
public static final HeaderParser.State LENGTH_BYTES
public static final HeaderParser.State PADDING
public static final HeaderParser.State RESERVED
public static HeaderParser.State[] values()
for (HeaderParser.State c : HeaderParser.State.values()) System.out.println(c);
public static HeaderParser.State 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