org.apache.http.client.HttpRequestRetryHandler |
Known Indirect Subclasses |
This interface is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
A handler for determining if an HttpRequest should be retried after a recoverable exception during execution.
Classes implementing this interface must synchronize access to shared data as methods of this interfrace may be executed from multiple threads
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines if a method should be retried after an IOException
occurs during execution.
|
Determines if a method should be retried after an IOException occurs during execution.
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