Class GoogleCloudStorageRedirectRetryHandler
- java.lang.Object
-
- org.jclouds.http.handlers.RedirectionRetryHandler
-
- org.jclouds.googlecloudstorage.handlers.GoogleCloudStorageRedirectRetryHandler
-
- All Implemented Interfaces:
HttpRetryHandler
@Singleton public class GoogleCloudStorageRedirectRetryHandler extends RedirectionRetryHandler
This will parse and set an appropriate exception on the command object.
-
-
Field Summary
-
Fields inherited from class org.jclouds.http.handlers.RedirectionRetryHandler
backoffHandler, logger, retryCountLimit
-
Fields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGoogleCloudStorageRedirectRetryHandler(BackoffLimitedRetryHandler backoffHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldRetryRequest(HttpCommand command, HttpResponse response)
-
-
-
Constructor Detail
-
GoogleCloudStorageRedirectRetryHandler
@Inject protected GoogleCloudStorageRedirectRetryHandler(BackoffLimitedRetryHandler backoffHandler)
-
-
Method Detail
-
shouldRetryRequest
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
- Specified by:
shouldRetryRequestin interfaceHttpRetryHandler- Overrides:
shouldRetryRequestin classRedirectionRetryHandler
-
-