Class HttpRequestRetryOnExceptionHandler

  • All Implemented Interfaces:
    org.apache.http.client.HttpRequestRetryHandler

    public class HttpRequestRetryOnExceptionHandler
    extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
    This retry handler uses an empty list of "non-retryable" exceptions so that if any exception is thrown during the HTTP operation, the operation will still be retried.
    Author:
    Seth, Alejandro
    • Field Summary

      • Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

        INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpRequestRetryOnExceptionHandler​(int retryCount, boolean requestSentRetryEnabled)
      Calls HttpRequestRetryOnExceptionHandler(int, boolean, Collection>) with Collections.emptyList() as the third argument.
    • Method Summary

      • Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler

        getRetryCount, handleAsIdempotent, isRequestSentRetryEnabled, requestIsAborted, retryRequest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpRequestRetryOnExceptionHandler

        public HttpRequestRetryOnExceptionHandler​(int retryCount,
                                                  boolean requestSentRetryEnabled)
        Calls HttpRequestRetryOnExceptionHandler(int, boolean, Collection>) with Collections.emptyList() as the third argument.
        Parameters:
        retryCount -
        requestSentRetryEnabled -