|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpRequestRetryHandler
A handler for determining if an HttpRequest should be retried after a recoverable exception during execution.
Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
| Method Summary | |
|---|---|
boolean |
retryRequest(IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context)
Determines if a method should be retried after an IOException occurs during execution. |
| Method Detail |
|---|
boolean retryRequest(IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context)
exception - the exception that occurredexecutionCount - the number of times this method has been
unsuccessfully executedcontext - the context for the request execution
true if the method should be retried, false
otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||