Package io.netty.handler.codec.spdy
Enum SpdyHeaderBlockRawDecoder.State
- java.lang.Object
-
- java.lang.Enum<SpdyHeaderBlockRawDecoder.State>
-
- io.netty.handler.codec.spdy.SpdyHeaderBlockRawDecoder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpdyHeaderBlockRawDecoder.State>
- Enclosing class:
- SpdyHeaderBlockRawDecoder
private static enum SpdyHeaderBlockRawDecoder.State extends java.lang.Enum<SpdyHeaderBlockRawDecoder.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description END_HEADER_BLOCK
ERROR
READ_NAME
READ_NAME_LENGTH
READ_NUM_HEADERS
READ_VALUE
READ_VALUE_LENGTH
SKIP_NAME
SKIP_VALUE
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpdyHeaderBlockRawDecoder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpdyHeaderBlockRawDecoder.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_NUM_HEADERS
public static final SpdyHeaderBlockRawDecoder.State READ_NUM_HEADERS
-
READ_NAME_LENGTH
public static final SpdyHeaderBlockRawDecoder.State READ_NAME_LENGTH
-
READ_NAME
public static final SpdyHeaderBlockRawDecoder.State READ_NAME
-
SKIP_NAME
public static final SpdyHeaderBlockRawDecoder.State SKIP_NAME
-
READ_VALUE_LENGTH
public static final SpdyHeaderBlockRawDecoder.State READ_VALUE_LENGTH
-
READ_VALUE
public static final SpdyHeaderBlockRawDecoder.State READ_VALUE
-
SKIP_VALUE
public static final SpdyHeaderBlockRawDecoder.State SKIP_VALUE
-
END_HEADER_BLOCK
public static final SpdyHeaderBlockRawDecoder.State END_HEADER_BLOCK
-
ERROR
public static final SpdyHeaderBlockRawDecoder.State ERROR
-
-
Method Detail
-
values
public static SpdyHeaderBlockRawDecoder.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 (SpdyHeaderBlockRawDecoder.State c : SpdyHeaderBlockRawDecoder.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 SpdyHeaderBlockRawDecoder.State valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-