private static enum HeaderParser.State extends java.lang.Enum<HeaderParser.State>
Enum Constant and Description |
---|
FLAGS |
LENGTH |
STREAM_ID |
STREAM_ID_BYTES |
TYPE |
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 LENGTH
public static final HeaderParser.State TYPE
public static final HeaderParser.State FLAGS
public static final HeaderParser.State STREAM_ID
public static final HeaderParser.State STREAM_ID_BYTES
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