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 Detail

      • HttpRequestRetryOnExceptionHandler

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