Package io.netty.handler.codec.http
Enum HttpObjectDecoder.State
- java.lang.Object
-
- java.lang.Enum<HttpObjectDecoder.State>
-
- io.netty.handler.codec.http.HttpObjectDecoder.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpObjectDecoder.State>
- Enclosing class:
- HttpObjectDecoder
private static enum HttpObjectDecoder.State extends java.lang.Enum<HttpObjectDecoder.State>
The internal state ofHttpObjectDecoder
. 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
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpObjectDecoder.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpObjectDecoder.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 HttpObjectDecoder.State SKIP_CONTROL_CHARS
-
READ_INITIAL
public static final HttpObjectDecoder.State READ_INITIAL
-
READ_HEADER
public static final HttpObjectDecoder.State READ_HEADER
-
READ_VARIABLE_LENGTH_CONTENT
public static final HttpObjectDecoder.State READ_VARIABLE_LENGTH_CONTENT
-
READ_FIXED_LENGTH_CONTENT
public static final HttpObjectDecoder.State READ_FIXED_LENGTH_CONTENT
-
READ_CHUNK_SIZE
public static final HttpObjectDecoder.State READ_CHUNK_SIZE
-
READ_CHUNKED_CONTENT
public static final HttpObjectDecoder.State READ_CHUNKED_CONTENT
-
READ_CHUNK_DELIMITER
public static final HttpObjectDecoder.State READ_CHUNK_DELIMITER
-
READ_CHUNK_FOOTER
public static final HttpObjectDecoder.State READ_CHUNK_FOOTER
-
BAD_MESSAGE
public static final HttpObjectDecoder.State BAD_MESSAGE
-
UPGRADED
public static final HttpObjectDecoder.State UPGRADED
-
-
Method Detail
-
values
public static HttpObjectDecoder.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 (HttpObjectDecoder.State c : HttpObjectDecoder.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 HttpObjectDecoder.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
-
-