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
Constructors Modifier Constructor Description protectedGoogleCloudStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldRetryRequest(HttpCommand command, HttpResponse response)Return true if the command should be retried. 
 - 
 
- 
- 
Constructor Detail
- 
GoogleCloudStorageClientErrorRetryHandler
@Inject protected GoogleCloudStorageClientErrorRetryHandler(BackoffLimitedRetryHandler backoffHandler)
 
 - 
 
- 
Method Detail
- 
shouldRetryRequest
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
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
 
 - 
 
 -