Class RomeAdapterRetryHandler
java.lang.Object
org.apache.http.impl.client.DefaultHttpRequestRetryHandler
org.jasig.portlet.newsreader.adapter.RomeAdapterRetryHandler
- All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
public class RomeAdapterRetryHandler
extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
RomeAdapterRetryHandler class.
- Since:
- 5.1.1
- Author:
- bgonzalez
-
Field Summary
Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
INSTANCE -
Constructor Summary
ConstructorsConstructorDescriptionRomeAdapterRetryHandler(int timesToRetry) Constructor for RomeAdapterRetryHandler. -
Method Summary
Modifier and TypeMethodDescriptionbooleanretryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
getRetryCount, handleAsIdempotent, isRequestSentRetryEnabled, requestIsAborted
-
Constructor Details
-
RomeAdapterRetryHandler
public RomeAdapterRetryHandler(int timesToRetry) Constructor for RomeAdapterRetryHandler.
- Parameters:
timesToRetry- a int
-
-
Method Details
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) - Specified by:
retryRequestin interfaceorg.apache.http.client.HttpRequestRetryHandler- Overrides:
retryRequestin classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-