Example usage for Java org.apache.http.impl.client DefaultHttpRequestRetryHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultHttpRequestRetryHandler(final int retryCount, final boolean requestSentRetryEnabled) Create the request retry handler using the following list of non-retriable IOException classes:
| |
DefaultHttpRequestRetryHandler() Create the request retry handler with a retry count of 3, requestSentRetryEnabled false and using the following list of non-retriable IOException classes:
|
int | getRetryCount() |
boolean | isRequestSentRetryEnabled() |
boolean | retryRequest(final IOException exception, final int executionCount, final HttpContext context) Used retryCount and requestSentRetryEnabled to determine if the given method should be retried. |