org.jets3t.service.utils
Class RestUtils.JetS3tRetryHandler

java.lang.Object
  extended by org.apache.http.impl.client.DefaultHttpRequestRetryHandler
      extended by org.jets3t.service.utils.RestUtils.JetS3tRetryHandler
All Implemented Interfaces:
org.apache.http.client.HttpRequestRetryHandler
Enclosing class:
RestUtils

public static class RestUtils.JetS3tRetryHandler
extends org.apache.http.impl.client.DefaultHttpRequestRetryHandler


Constructor Summary
RestUtils.JetS3tRetryHandler(int pRetryMaxCount, JetS3tRequestAuthorizer requestAuthorizer)
           
 
Method Summary
 boolean retryRequest(java.io.IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
           
 
Methods inherited from class org.apache.http.impl.client.DefaultHttpRequestRetryHandler
getRetryCount, isRequestSentRetryEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestUtils.JetS3tRetryHandler

public RestUtils.JetS3tRetryHandler(int pRetryMaxCount,
                                    JetS3tRequestAuthorizer requestAuthorizer)
Method Detail

retryRequest

public boolean retryRequest(java.io.IOException exception,
                            int executionCount,
                            org.apache.http.protocol.HttpContext context)
Specified by:
retryRequest in interface org.apache.http.client.HttpRequestRetryHandler
Overrides:
retryRequest in class org.apache.http.impl.client.DefaultHttpRequestRetryHandler