Java org.apache.http.impl.client DefaultHttpRequestRetryHandler fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.impl.client DefaultHttpRequestRetryHandler fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.impl.client DefaultHttpRequestRetryHandler.

The text is from its open source code.

Subclass

org.apache.http.impl.client.DefaultHttpRequestRetryHandler has subclasses.
Click this link to see all its subclasses.

Constructor

DefaultHttpRequestRetryHandler(final int retryCount, final boolean requestSentRetryEnabled)
Create the request retry handler using the following list of non-retriable IOException classes:
  • InterruptedIOException
  • UnknownHostException
  • ConnectException
  • SSLException
DefaultHttpRequestRetryHandler()
Create the request retry handler with a retry count of 3, requestSentRetryEnabled false and using the following list of non-retriable IOException classes:
  • InterruptedIOException
  • UnknownHostException
  • ConnectException
  • SSLException

Method

intgetRetryCount()
booleanisRequestSentRetryEnabled()
booleanretryRequest(final IOException exception, final int executionCount, final HttpContext context)
Used retryCount and requestSentRetryEnabled to determine if the given method should be retried.