public static enum HttpGenerator.Result extends java.lang.Enum<HttpGenerator.Result>
Enum Constant | Description |
---|---|
CONTINUE |
|
DONE |
|
FLUSH |
|
NEED_CHUNK |
|
NEED_CHUNK_TRAILER |
|
NEED_HEADER |
|
NEED_INFO |
|
SHUTDOWN_OUT |
Modifier and Type | Method | Description |
---|---|---|
static HttpGenerator.Result |
valueOf(java.lang.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 NEED_CHUNK_TRAILER
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(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.