Package org.opennms.core.web
Class HttpRequestRetryOnExceptionHandler
- java.lang.Object
-
- org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
- org.opennms.core.web.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
-
-
Constructor Summary
Constructors Constructor Description HttpRequestRetryOnExceptionHandler(int retryCount, boolean requestSentRetryEnabled)
CallsHttpRequestRetryOnExceptionHandler(int, boolean, Collection
with>) Collections.emptyList()
as the third argument.
-
-
-
Constructor Detail
-
HttpRequestRetryOnExceptionHandler
public HttpRequestRetryOnExceptionHandler(int retryCount, boolean requestSentRetryEnabled)
CallsHttpRequestRetryOnExceptionHandler(int, boolean, Collection
with>) Collections.emptyList()
as the third argument.- Parameters:
retryCount
-requestSentRetryEnabled
-
-
-