Class GoogleCloudStorageClientErrorRetryHandler
java.lang.Object
org.jclouds.googlecloudstorage.handlers.GoogleCloudStorageClientErrorRetryHandler
- All Implemented Interfaces:
 HttpRetryHandler
@Singleton
public final class GoogleCloudStorageClientErrorRetryHandler
extends Object
implements HttpRetryHandler
- 
Field Summary
Fields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGoogleCloudStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldRetryRequest(HttpCommand command, HttpResponse response) Return true if the command should be retried. 
- 
Constructor Details
- 
GoogleCloudStorageClientErrorRetryHandler
@Inject protected GoogleCloudStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler)  
 - 
 - 
Method Details
- 
shouldRetryRequest
Description copied from interface:HttpRetryHandlerReturn true if the command should be retried. This method should only be invoked when the response has failed with a HTTP 5xx error indicating a server-side error.- Specified by:
 shouldRetryRequestin interfaceHttpRetryHandler
 
 -