Package | Description |
---|---|
org.asynchttpclient.simple |
Modifier and Type | Method and Description |
---|---|
static SimpleAsyncHttpClient.ErrorDocumentBehaviour |
SimpleAsyncHttpClient.ErrorDocumentBehaviour.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleAsyncHttpClient.ErrorDocumentBehaviour[] |
SimpleAsyncHttpClient.ErrorDocumentBehaviour.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
SimpleAsyncHttpClient.Builder |
SimpleAsyncHttpClient.Builder.setErrorDocumentBehaviour(SimpleAsyncHttpClient.ErrorDocumentBehaviour behaviour)
This setting controls whether an error document should be written via
the
BodyConsumer after an error status code was received (e.g. |
Copyright © 2015. All Rights Reserved.