Package com.franz.agraph.http.handler
Class AGMethodRetryHandler
java.lang.Object
org.apache.http.impl.client.DefaultHttpRequestRetryHandler
com.franz.agraph.http.handler.AGMethodRetryHandler
- All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
public class AGMethodRetryHandler
extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Field Summary
Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
retryRequest
(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
getRetryCount, isRequestSentRetryEnabled
-
Constructor Details
-
AGMethodRetryHandler
public AGMethodRetryHandler()
-
-
Method Details
-
retryRequest
public boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context) - Specified by:
retryRequest
in interfaceorg.apache.http.client.HttpRequestRetryHandler
- Overrides:
retryRequest
in classorg.apache.http.impl.client.DefaultHttpRequestRetryHandler
-