| org.apache.commons.httpclient.MethodRetryHandler
All known Subclasses: org.apache.commons.httpclient.DefaultMethodRetryHandler,
Method Summary | |
boolean | retryMethod(HttpMethod method, HttpConnection connection, HttpRecoverableException recoverableException, int executionCount, boolean requestSent) Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
Parameters: method - the method being executed Parameters: connection - the connection the method is using Parameters: recoverableException - the exception that occurred Parameters: executionCount - the number of times this method has been unsuccessfully executed Parameters: requestSent - this argument is unused and will be removed in the future. |
retryMethod | boolean retryMethod(HttpMethod method, HttpConnection connection, HttpRecoverableException recoverableException, int executionCount, boolean requestSent)(Code) | | Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
Parameters: method - the method being executed Parameters: connection - the connection the method is using Parameters: recoverableException - the exception that occurred Parameters: executionCount - the number of times this method has been unsuccessfully executed Parameters: requestSent - this argument is unused and will be removed in the future. HttpMethod.isRequestSent should be used instead true if the method should be retried, false otherwise |
|
|