Class HttpContextRetryCounter


  • public class HttpContextRetryCounter
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpContextRetryCounter​(java.lang.String attributeName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getRetryCount​(org.apache.http.client.protocol.HttpClientContext context)  
      void handleUpdate​(org.apache.http.client.protocol.HttpClientContext context, boolean isRepetition)  
      void setRetryCount​(org.apache.http.client.protocol.HttpClientContext context, int value)  
      • Methods inherited from class java.lang.Object

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

      • HttpContextRetryCounter

        public HttpContextRetryCounter​(java.lang.String attributeName)
    • Method Detail

      • handleUpdate

        public void handleUpdate​(org.apache.http.client.protocol.HttpClientContext context,
                                 boolean isRepetition)
      • setRetryCount

        public void setRetryCount​(org.apache.http.client.protocol.HttpClientContext context,
                                  int value)
      • getRetryCount

        public int getRetryCount​(org.apache.http.client.protocol.HttpClientContext context)