Class BasicHttpRequestRetryHandler

All Implemented Interfaces:
HttpRequestRetryHandler

An extension of StandardHttpRequestRetryHandler that adds support for a retry interval.
See Also:
  • Constructor Details

    • BasicHttpRequestRetryHandler

      public BasicHttpRequestRetryHandler(int retryCount, int retryInterval, boolean requestSentRetryEnabled)
      Create the request retry handler. Uses the following list of non-retryable IOException classes:
      • InterruptedIOException
      • UnknownHostException
      • ConnectException
      • SSLException
      Parameters:
      retryCount - How many times to retry. 0 means no retries.
      retryInterval - The time in milliseconds to sleep before trying again, or <=0 for no interval.
      requestSentRetryEnabled - Specify true if it's OK to retry non-idempotent requests that have been sent.
  • Method Details