public static enum HttpTokens.EndOfContent extends java.lang.Enum<HttpTokens.EndOfContent>
| Enum Constant and Description |
|---|
CHUNKED_CONTENT |
CONTENT_LENGTH |
EOF_CONTENT |
NO_CONTENT |
UNKNOWN_CONTENT |
| Modifier and Type | Method and Description |
|---|---|
static HttpTokens.EndOfContent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpTokens.EndOfContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpTokens.EndOfContent UNKNOWN_CONTENT
public static final HttpTokens.EndOfContent NO_CONTENT
public static final HttpTokens.EndOfContent EOF_CONTENT
public static final HttpTokens.EndOfContent CONTENT_LENGTH
public static final HttpTokens.EndOfContent CHUNKED_CONTENT
public static HttpTokens.EndOfContent[] values()
for (HttpTokens.EndOfContent c : HttpTokens.EndOfContent.values()) System.out.println(c);
public static HttpTokens.EndOfContent 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 null