public static enum HttpGenerator.Result extends Enum<HttpGenerator.Result>
Enum Constant and Description |
---|
CONTINUE |
DONE |
FLUSH |
NEED_CHUNK |
NEED_HEADER |
NEED_INFO |
SHUTDOWN_OUT |
Modifier and Type | Method and Description |
---|---|
static HttpGenerator.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpGenerator.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpGenerator.Result NEED_CHUNK
public static final HttpGenerator.Result NEED_INFO
public static final HttpGenerator.Result NEED_HEADER
public static final HttpGenerator.Result FLUSH
public static final HttpGenerator.Result CONTINUE
public static final HttpGenerator.Result SHUTDOWN_OUT
public static final HttpGenerator.Result DONE
public static HttpGenerator.Result[] values()
for (HttpGenerator.Result c : HttpGenerator.Result.values()) System.out.println(c);
public static HttpGenerator.Result 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.