| java.lang.Object | |
| ↳ | org.apache.http.impl.client.DefaultHttpRequestRetryHandler |
The default
HttpRequestRetryHandler
used by request executors.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Default constructor
|
||||||||||
|
|
Default constructor
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
||||||||||
|
|
|
||||||||||
|
|
Used
retryCount
and
requestSentRetryEnabled
to determine
if the given method should be retried.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
org.apache.http.client.HttpRequestRetryHandler
|
|||||||||||
Default constructor
true
if this handler will retry methods that have
successfully sent their request,
false
otherwise
Used
retryCount
and
requestSentRetryEnabled
to determine
if the given method should be retried.
| exception | the exception that occurred |
|---|---|
| executionCount | the number of times this method has been unsuccessfully executed |
| context | the context for the request execution |
true
if the method should be retried,
false
otherwise