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 |
---|---|
protected <T extends AmazonWebServiceRequest> |
AmazonWebServiceClient.beforeMarshalling(T request)
Runs the
beforeMarshalling method of any
RequestHandler2 s associated with this client. |
protected <T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.copyBaseTo(T target)
Copies the internal state of this base class to that of the target
request.
|
<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 |
AmazonWebServiceRequest.clone()
Creates a shallow clone of this request.
|
AmazonWebServiceRequest |
AmazonWebServiceRequest.getCloneRoot()
Returns the root object from which the current object was cloned; or null
if there isn't one.
|
AmazonWebServiceRequest |
AmazonWebServiceRequest.getCloneSource()
Returns the source object from which the current object was cloned; or null
if there isn't one.
|
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 |
RequestHandler2.beforeMarshalling(AmazonWebServiceRequest request)
Runs any additional processing logic on the specified request object
before it is marshaled into an HTTP request.
|
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceRequest |
RequestHandler2.beforeMarshalling(AmazonWebServiceRequest request)
Runs any additional processing logic on the specified request object
before it is marshaled into an HTTP request.
|
Modifier and Type | Method and Description |
---|---|
ResponseMetadata |
AmazonHttpClient.getResponseMetadataForRequest(AmazonWebServiceRequest request)
Returns additional response metadata for an executed request.
|
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 © 2015. All rights reserved.