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