public interface MethodRetryHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryMethod(HttpMethod method,
HttpConnection connection,
HttpRecoverableException recoverableException,
int executionCount,
boolean requestSent)
Deprecated.
Determines if a method should be retried after an HttpRecoverableException
occurs during execution.
|
boolean retryMethod(HttpMethod method, HttpConnection connection, HttpRecoverableException recoverableException, int executionCount, boolean requestSent)
method - the method being executedconnection - the connection the method is usingrecoverableException - the exception that occurredexecutionCount - the number of times this method has been
unsuccessfully executedrequestSent - this argument is unused and will be removed in the future.
HttpMethod.isRequestSent() should be used insteadtrue if the method should be retried, false
otherwiseCopyright © 2021 Internet2. All rights reserved.