Class CustomServiceUnavailableRetryStrategy
java.lang.Object
com.amadeus.jenkins.plugins.workflow.libs.CustomServiceUnavailableRetryStrategy
- All Implemented Interfaces:
org.apache.http.client.ServiceUnavailableRetryStrategy
public class CustomServiceUnavailableRetryStrategy
extends Object
implements org.apache.http.client.ServiceUnavailableRetryStrategy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
retryRequest
(org.apache.http.HttpResponse httpResponse, int executionCount, org.apache.http.protocol.HttpContext httpContext)
-
Constructor Details
-
CustomServiceUnavailableRetryStrategy
public CustomServiceUnavailableRetryStrategy() -
CustomServiceUnavailableRetryStrategy
-
-
Method Details
-
retryRequest
public boolean retryRequest(org.apache.http.HttpResponse httpResponse, int executionCount, org.apache.http.protocol.HttpContext httpContext) - Specified by:
retryRequest
in interfaceorg.apache.http.client.ServiceUnavailableRetryStrategy
-
getRetryInterval
public long getRetryInterval()- Specified by:
getRetryInterval
in interfaceorg.apache.http.client.ServiceUnavailableRetryStrategy
-