Class AzureStorageClientErrorRetryHandler
java.lang.Object
org.jclouds.azure.storage.handlers.AzureStorageClientErrorRetryHandler
- All Implemented Interfaces:
org.jclouds.http.HttpRetryHandler
public class AzureStorageClientErrorRetryHandler
extends Object
implements org.jclouds.http.HttpRetryHandler
Handles Retryable responses with error codes in the 4xx range
-
Field Summary
FieldsFields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY -
Constructor Summary
ConstructorsConstructorDescriptionAzureStorageClientErrorRetryHandler(org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler, AzureStorageUtils utils) -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldRetryRequest(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response)
-
Field Details
-
logger
protected org.jclouds.logging.Logger logger
-
-
Constructor Details
-
AzureStorageClientErrorRetryHandler
@Inject public AzureStorageClientErrorRetryHandler(org.jclouds.http.handlers.BackoffLimitedRetryHandler backoffHandler, AzureStorageUtils utils)
-
-
Method Details
-
shouldRetryRequest
public boolean shouldRetryRequest(org.jclouds.http.HttpCommand command, org.jclouds.http.HttpResponse response) - Specified by:
shouldRetryRequestin interfaceorg.jclouds.http.HttpRetryHandler
-