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 Details

    • CustomServiceUnavailableRetryStrategy

      public CustomServiceUnavailableRetryStrategy()
    • CustomServiceUnavailableRetryStrategy

      public CustomServiceUnavailableRetryStrategy(Set<Integer> retryOnStatusCodes)
  • Method Details

    • retryRequest

      public boolean retryRequest(org.apache.http.HttpResponse httpResponse, int executionCount, org.apache.http.protocol.HttpContext httpContext)
      Specified by:
      retryRequest in interface org.apache.http.client.ServiceUnavailableRetryStrategy
    • getRetryInterval

      public long getRetryInterval()
      Specified by:
      getRetryInterval in interface org.apache.http.client.ServiceUnavailableRetryStrategy