FileDocCategorySizeDatePackage
HttpRequestRetryHandler.javaAPI DocAndroid 1.5 API2510Wed May 06 22:41:10 BST 2009org.apache.http.client

HttpRequestRetryHandler

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

author
Michael Becke
author
Oleg Kalnichevski

Fields Summary
Constructors Summary
Methods Summary
public booleanretryRequest(java.io.IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
Determines if a method should be retried after an IOException occurs during execution.

param
exception the exception that occurred
param
executionCount the number of times this method has been unsuccessfully executed
param
context the context for the request execution
return
true if the method should be retried, false otherwise