@Singleton public class GoogleCloudStorageRedirectRetryHandler extends RedirectionRetryHandler
backoffHandler, logger, retryCountLimit
ALWAYS_RETRY, NEVER_RETRY
Modifier | Constructor and Description |
---|---|
protected |
GoogleCloudStorageRedirectRetryHandler(BackoffLimitedRetryHandler backoffHandler) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetryRequest(HttpCommand command,
HttpResponse response)
Return true if the command should be retried.
|
@Inject protected GoogleCloudStorageRedirectRetryHandler(BackoffLimitedRetryHandler backoffHandler)
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
HttpRetryHandler
shouldRetryRequest
in interface HttpRetryHandler
shouldRetryRequest
in class RedirectionRetryHandler
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.