|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HttpMethodRetryHandler
public interface MethodRetryHandler
A handler for determining if an HttpMethod should be retried after a recoverable exception during execution.
HttpMethod.execute(HttpState, HttpConnection)
,
HttpRecoverableException
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 instead
true
if the method should be retried, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |