public static enum HttpParser.State extends Enum<HttpParser.State>
Enum Constant and Description |
---|
CHUNK |
CHUNK_PARAMS |
CHUNK_SIZE |
CHUNKED_CONTENT |
CLOSED |
CONTENT |
END |
EOF_CONTENT |
HEADER |
HEADER_IN_NAME |
HEADER_IN_VALUE |
HEADER_VALUE |
METHOD |
PROXY |
REASON |
REQUEST_VERSION |
RESPONSE_VERSION |
SPACE1 |
SPACE2 |
START |
STATUS |
URI |
Modifier and Type | Method and Description |
---|---|
static HttpParser.State |
valueOf(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.
|
public static final HttpParser.State START
public static final HttpParser.State METHOD
public static final HttpParser.State RESPONSE_VERSION
public static final HttpParser.State SPACE1
public static final HttpParser.State STATUS
public static final HttpParser.State URI
public static final HttpParser.State SPACE2
public static final HttpParser.State REQUEST_VERSION
public static final HttpParser.State REASON
public static final HttpParser.State PROXY
public static final HttpParser.State HEADER
public static final HttpParser.State HEADER_IN_NAME
public static final HttpParser.State HEADER_VALUE
public static final HttpParser.State HEADER_IN_VALUE
public static final HttpParser.State CONTENT
public static final HttpParser.State EOF_CONTENT
public static final HttpParser.State CHUNKED_CONTENT
public static final HttpParser.State CHUNK_SIZE
public static final HttpParser.State CHUNK_PARAMS
public static final HttpParser.State CHUNK
public static final HttpParser.State END
public static final HttpParser.State CLOSED
public static HttpParser.State[] values()
for (HttpParser.State c : HttpParser.State.values()) System.out.println(c);
public static HttpParser.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1995-2015 Webtide. All Rights Reserved.