Class SharedHttpClientSessionManager.ServiceUnavailableRetryHandler

  • All Implemented Interfaces:
    org.apache.http.client.ServiceUnavailableRetryStrategy
    Enclosing class:
    SharedHttpClientSessionManager

    private static class SharedHttpClientSessionManager.ServiceUnavailableRetryHandler
    extends java.lang.Object
    implements org.apache.http.client.ServiceUnavailableRetryStrategy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.slf4j.Logger logger  
    • 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 context)  
      • Methods inherited from class java.lang.Object

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

      • logger

        private final org.slf4j.Logger logger
    • Constructor Detail

      • ServiceUnavailableRetryHandler

        private ServiceUnavailableRetryHandler()
    • Method Detail

      • retryRequest

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

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