| Package | Description |
|---|---|
| com.amazonaws | |
| com.amazonaws.event | |
| com.amazonaws.handlers | |
| com.amazonaws.http | |
| com.amazonaws.retry |
| Modifier and Type | Field and Description |
|---|---|
static AmazonWebServiceRequest |
AmazonWebServiceRequest.NOOP |
| Modifier and Type | Method and Description |
|---|---|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withGeneralProgressListener(ProgressListener progressListener)
Sets the optional progress listener for receiving updates about the
progress of the request, and returns a reference to this object so that
method calls can be chained together.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withRequestMetricCollector(RequestMetricCollector metricCollector)
Specifies a request level metric collector which takes precedence over
the ones at the http client level and AWS SDK level.
|
| Modifier and Type | Method and Description |
|---|---|
AmazonWebServiceRequest |
Request.getOriginalRequest()
Returns the original, user facing request object which this internal
request object is representing.
|
AmazonWebServiceRequest |
DefaultRequest.getOriginalRequest()
Returns the original, user facing request object which this internal
request object is representing.
|
| Modifier and Type | Method and Description |
|---|---|
protected ExecutionContext |
AmazonWebServiceClient.createExecutionContext(AmazonWebServiceRequest req) |
protected boolean |
AmazonWebServiceClient.isRequestMetricsEnabled(AmazonWebServiceRequest req)
Returns true if request metric collection is applicable to the given
request; false otherwise.
|
| Constructor and Description |
|---|
DefaultRequest(AmazonWebServiceRequest originalRequest,
String serviceName)
Constructs a new DefaultRequest with the specified service name and the
original, user facing request object.
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
ProgressInputStream.inputStreamForRequest(InputStream is,
AmazonWebServiceRequest req)
Returns an input stream for request progress tracking purposes.
|
static InputStream |
ProgressInputStream.inputStreamForResponse(InputStream is,
AmazonWebServiceRequest req)
Returns an input stream for response progress tracking purposes.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AsyncHandler<REQUEST extends AmazonWebServiceRequest,RESULT>
Callback interface for notification on web service requests executed with the
asynchronous clients in the AWS SDK for Java.
|
| Modifier and Type | Method and Description |
|---|---|
AmazonWebServiceRequest |
HttpRequest.getOriginalRequest()
Returns the original request, as constructed by the SDK user, for which
this HTTP request is being executed.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseMetadata |
AmazonHttpClient.getResponseMetadataForRequest(AmazonWebServiceRequest request)
Returns additional response metadata for an executed request.
|
void |
HttpRequest.setOriginalRequest(AmazonWebServiceRequest request)
Sets the original request, as constructed by the SDK user, for which this
HTTP request is being executed.
|
| Modifier and Type | Method and Description |
|---|---|
long |
RetryPolicy.BackoffStrategy.delayBeforeNextRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted)
Returns the delay (in milliseconds) before next retry attempt.
|
boolean |
RetryPolicy.RetryCondition.shouldRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted)
Returns whether a failed request should be retried according to the
given request context.
|
boolean |
PredefinedRetryPolicies.SDKDefaultRetryCondition.shouldRetry(AmazonWebServiceRequest originalRequest,
AmazonClientException exception,
int retriesAttempted) |
Copyright © 2014. All rights reserved.