| org.apache.commons.httpclient.HttpMethodRetryHandler
All known Subclasses: org.apache.commons.httpclient.DefaultHttpMethodRetryHandler,
HttpMethodRetryHandler | public interface HttpMethodRetryHandler (Code) | | 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
See Also: HttpMethod.execute(HttpStateHttpConnection) author: Michael Becke author: Oleg Kalnichevski |
Method Summary | |
boolean | retryMethod(HttpMethod method, IOException exception, int executionCount) Determines if a method should be retried after an HttpRecoverableException
occurs during execution. |
retryMethod | boolean retryMethod(HttpMethod method, IOException exception, int executionCount)(Code) | | Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
Parameters: method - the method being executed Parameters: exception - the exception that occurred Parameters: executionCount - the number of times this method has been unsuccessfully executed true if the method should be retried, false otherwise |
|
|