public static enum AsyncHttpClientProvider.AsyncBehaviour extends Enum<AsyncHttpClientProvider.AsyncBehaviour>
Enum Constant and Description |
---|
COMPLETES_AFTER_ENTITY
Completes when response is entirely received (non-blocking, high-latency, entity buffering).
|
COMPLETES_AFTER_HEADERS
Completes when headers are received (blocking on entity stream, low-latency).
|
Modifier and Type | Method and Description |
---|---|
static AsyncHttpClientProvider.AsyncBehaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncHttpClientProvider.AsyncBehaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncHttpClientProvider.AsyncBehaviour COMPLETES_AFTER_ENTITY
public static final AsyncHttpClientProvider.AsyncBehaviour COMPLETES_AFTER_HEADERS
public static AsyncHttpClientProvider.AsyncBehaviour[] values()
for (AsyncHttpClientProvider.AsyncBehaviour c : AsyncHttpClientProvider.AsyncBehaviour.values()) System.out.println(c);
public static AsyncHttpClientProvider.AsyncBehaviour 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 2011-2017 ForgeRock AS.