Class DelayedResponseLevelRetryHandler

  • All Implemented Interfaces:
    org.apache.http.client.ServiceUnavailableRetryStrategy

    @Contract(threading=IMMUTABLE)
    public class DelayedResponseLevelRetryHandler
    extends java.lang.Object
    implements org.apache.http.client.ServiceUnavailableRetryStrategy
    A ServiceUnavailableRetryStrategy that supports delayed retries on any response types.
    Author:
    bjorncs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getRetryInterval()  
      boolean retryRequest​(org.apache.http.HttpResponse response, int executionCount, org.apache.http.protocol.HttpContext ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • retryRequest

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

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