java.lang.Object | |
↳ | com.ning.http.client.SimpleAsyncHttpClient.Builder |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
IllegalArgumentException |
---|
This setting controls whether an error document should be written via
the BodyConsumer
after an error status code was received (e.g.
404). Default is WRITE
.
Set the listener to notify about connection progress.
Set the number of time a request will be retried when an java.io.IOException occurs because of a Network exception.
maxRequestRetry | the number of time a request will be retried |
---|
IllegalArgumentException |
---|
IllegalArgumentException |
---|
Enable resumable downloads for the SimpleAHC. Resuming downloads will only work for GET requests
with an instance of ResumableBodyConsumer
.