public interface HttpRequestRetryHandler
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.
boolean retryRequest(IOException exception, int executionCount, HttpContext context)
exception- the exception that occurred
executionCount- the number of times this method has been unsuccessfully executed
context- the context for the request execution
trueif the method should be retried,
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.