Package org.eclipse.jetty.http
Enum HttpParser.State
- java.lang.Object
-
- java.lang.Enum<HttpParser.State>
-
- org.eclipse.jetty.http.HttpParser.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpParser.State>
- Enclosing class:
- HttpParser
public static enum HttpParser.State extends java.lang.Enum<HttpParser.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHUNK
CHUNK_PARAMS
CHUNK_SIZE
CHUNKED_CONTENT
CLOSE
CLOSED
CONTENT
CONTENT_END
END
EOF_CONTENT
HEADER
METHOD
PROXY
REASON
REQUEST_VERSION
RESPONSE_VERSION
SPACE1
SPACE2
START
STATUS
TRAILER
URI
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpParser.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpParser.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final HttpParser.State START
-
METHOD
public static final HttpParser.State METHOD
-
RESPONSE_VERSION
public static final HttpParser.State RESPONSE_VERSION
-
SPACE1
public static final HttpParser.State SPACE1
-
STATUS
public static final HttpParser.State STATUS
-
URI
public static final HttpParser.State URI
-
SPACE2
public static final HttpParser.State SPACE2
-
REQUEST_VERSION
public static final HttpParser.State REQUEST_VERSION
-
REASON
public static final HttpParser.State REASON
-
PROXY
public static final HttpParser.State PROXY
-
HEADER
public static final HttpParser.State HEADER
-
CONTENT
public static final HttpParser.State CONTENT
-
EOF_CONTENT
public static final HttpParser.State EOF_CONTENT
-
CHUNKED_CONTENT
public static final HttpParser.State CHUNKED_CONTENT
-
CHUNK_SIZE
public static final HttpParser.State CHUNK_SIZE
-
CHUNK_PARAMS
public static final HttpParser.State CHUNK_PARAMS
-
CHUNK
public static final HttpParser.State CHUNK
-
CONTENT_END
public static final HttpParser.State CONTENT_END
-
TRAILER
public static final HttpParser.State TRAILER
-
END
public static final HttpParser.State END
-
CLOSE
public static final HttpParser.State CLOSE
-
CLOSED
public static final HttpParser.State CLOSED
-
-
Method Detail
-
values
public static HttpParser.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 (HttpParser.State c : HttpParser.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 HttpParser.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
-
-