Package com.linkedin.alpini.netty4.misc
Enum BasicHttpObjectDecoder.State
- java.lang.Object
-
- java.lang.Enum<BasicHttpObjectDecoder.State>
-
- com.linkedin.alpini.netty4.misc.BasicHttpObjectDecoder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BasicHttpObjectDecoder.State>
- Enclosing class:
- BasicHttpObjectDecoder
public static enum BasicHttpObjectDecoder.State extends java.lang.Enum<BasicHttpObjectDecoder.State>
The internal state ofBasicHttpObjectDecoder
. Internal use only.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_MESSAGE
READ_CHUNK_DELIMITER
READ_CHUNK_FOOTER
READ_CHUNK_SIZE
READ_CHUNKED_CONTENT
READ_FIXED_LENGTH_CONTENT
READ_HEADER
READ_INITIAL
READ_VARIABLE_LENGTH_CONTENT
SKIP_CONTROL_CHARS
UPGRADED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BasicHttpObjectDecoder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BasicHttpObjectDecoder.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKIP_CONTROL_CHARS
public static final BasicHttpObjectDecoder.State SKIP_CONTROL_CHARS
-
READ_INITIAL
public static final BasicHttpObjectDecoder.State READ_INITIAL
-
READ_HEADER
public static final BasicHttpObjectDecoder.State READ_HEADER
-
READ_VARIABLE_LENGTH_CONTENT
public static final BasicHttpObjectDecoder.State READ_VARIABLE_LENGTH_CONTENT
-
READ_FIXED_LENGTH_CONTENT
public static final BasicHttpObjectDecoder.State READ_FIXED_LENGTH_CONTENT
-
READ_CHUNK_SIZE
public static final BasicHttpObjectDecoder.State READ_CHUNK_SIZE
-
READ_CHUNKED_CONTENT
public static final BasicHttpObjectDecoder.State READ_CHUNKED_CONTENT
-
READ_CHUNK_DELIMITER
public static final BasicHttpObjectDecoder.State READ_CHUNK_DELIMITER
-
READ_CHUNK_FOOTER
public static final BasicHttpObjectDecoder.State READ_CHUNK_FOOTER
-
BAD_MESSAGE
public static final BasicHttpObjectDecoder.State BAD_MESSAGE
-
UPGRADED
public static final BasicHttpObjectDecoder.State UPGRADED
-
-
Method Detail
-
values
public static BasicHttpObjectDecoder.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 (BasicHttpObjectDecoder.State c : BasicHttpObjectDecoder.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 BasicHttpObjectDecoder.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
-
-