Home » HttpComponents-Core-4.0.1 » org.apache.http.protocol » [javadoc | source]
org.apache.http.protocol
public interface: HttpRequestRetryHandler [javadoc | source]

All Known Implementing Classes:
    DefaultHttpRequestRetryHandler

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

Method from org.apache.http.protocol.HttpRequestRetryHandler Summary:
retryRequest
Method from org.apache.http.protocol.HttpRequestRetryHandler Detail:
 public boolean retryRequest(IOException exception,
    int executionCount,
    HttpContext context)
    Determines if a method should be retried after an IOException occurs during execution.