Class CustomHttpRequestRetryHandler
java.lang.Object
org.apache.http.impl.client.DefaultHttpRequestRetryHandler
com.amadeus.jenkins.plugins.workflow.libs.CustomHttpRequestRetryHandler
- All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
public class CustomHttpRequestRetryHandler
extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler
-
Field Summary
Fields inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
INSTANCE -
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
-
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
-