| Enum Constant and Description |
|---|
CHUNKED
Send the response stream as HTTP chunks.
|
EVENT_STREAM
Send the response stream as Server-Sent Events.
|
NON_CHUNKED
Load in memory all the stream data before sending it as a non chunked HTTP response.
|
| Modifier and Type | Method and Description |
|---|---|
static Transfer |
get(java.lang.String transfer) |
java.lang.String |
toString() |
static Transfer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transfer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transfer NON_CHUNKED
public static final Transfer CHUNKED
public static final Transfer EVENT_STREAM
public static Transfer[] values()
for (Transfer c : Transfer.values()) System.out.println(c);
public static Transfer 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 nullpublic static Transfer get(java.lang.String transfer)
public java.lang.String toString()
toString in class java.lang.Enum<Transfer>