public class S3ExecutionContext extends ExecutionContext
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
log |
private Signer |
signer |
Constructor and Description |
---|
S3ExecutionContext(java.util.List<RequestHandler2> requestHandler2s,
boolean isMetricEnabled,
AmazonWebServiceClient awsClient) |
Modifier and Type | Method and Description |
---|---|
Signer |
getSignerByURI(java.net.URI uri)
Returns the signer instance that should be used to sign the request sent
to the given URL.
|
void |
setSigner(Signer signer)
There is in general no need to set the signer in the execution context, since the signer for
each request may differ depending on the URI of the request.
|
getAuthErrorRetryStrategy, getAwsClient, getAwsRequestMetrics, getClientExecutionTrackerTask, getCredentialsProvider, getRequestHandler2s, markRetryCapacityConsumed, retryCapacityConsumed, setAuthErrorRetryStrategy, setClientExecutionTrackerTask, setCredentialsProvider
private static final org.apache.commons.logging.Log log
private Signer signer
public S3ExecutionContext(java.util.List<RequestHandler2> requestHandler2s, boolean isMetricEnabled, AmazonWebServiceClient awsClient)
public void setSigner(Signer signer)
ExecutionContext
setSigner
in class ExecutionContext
public Signer getSignerByURI(java.net.URI uri)
getSignerByURI
in class ExecutionContext