Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.http.protocol
Interface HttpRequestRetryHandler  view HttpRequestRetryHandler download HttpRequestRetryHandler.java


public interface HttpRequestRetryHandler

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 Summary
 boolean retryRequest(java.io.IOException exception, int executionCount, HttpContext context)
          Determines if a method should be retried after an IOException occurs during execution.
 

Method Detail

retryRequest

public boolean retryRequest(java.io.IOException exception,
                            int executionCount,
                            HttpContext context)
Determines if a method should be retried after an IOException occurs during execution.