public static enum HttpTokens.EndOfContent extends Enum<HttpTokens.EndOfContent>
Enum Constant and Description |
---|
CHUNKED_CONTENT |
CONTENT_LENGTH |
EOF_CONTENT |
NO_CONTENT |
SELF_DEFINING_CONTENT |
UNKNOWN_CONTENT |
Modifier and Type | Method and Description |
---|---|
static HttpTokens.EndOfContent |
valueOf(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 final HttpTokens.EndOfContent SELF_DEFINING_CONTENT
public static HttpTokens.EndOfContent[] values()
for (HttpTokens.EndOfContent c : HttpTokens.EndOfContent.values()) System.out.println(c);
public static HttpTokens.EndOfContent 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.