public static enum HttpParser.State extends java.lang.Enum<HttpParser.State>
Enum Constant | Description |
---|---|
CHUNK |
|
CHUNK_PARAMS |
|
CHUNK_SIZE |
|
CHUNKED_CONTENT |
|
CLOSE |
|
CLOSED |
|
CONTENT |
|
END |
|
EOF_CONTENT |
|
HEADER |
|
METHOD |
|
PROXY |
|
REASON |
|
REQUEST_VERSION |
|
RESPONSE_VERSION |
|
SPACE1 |
|
SPACE2 |
|
START |
|
STATUS |
|
TRAILER |
|
URI |
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.
|
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 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 TRAILER
public static final HttpParser.State END
public static final HttpParser.State CLOSE
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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 1995–2017 Webtide. All rights reserved.