Save This Page
Home » commons-httpclient-3.1-src » org.apache.commons » httpclient » [javadoc | source]
org.apache.commons.httpclient
public interface: HttpMethodRetryHandler [javadoc | source]

All Known Implementing Classes:
    DefaultHttpMethodRetryHandler

A handler for determining if an HttpMethod 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.commons.httpclient.HttpMethodRetryHandler Summary:
retryMethod
Method from org.apache.commons.httpclient.HttpMethodRetryHandler Detail:
 public boolean retryMethod(HttpMethod method,
    IOException exception,
    int executionCount)
    Determines if a method should be retried after an HttpRecoverableException occurs during execution.