Modifier and Type | Field and Description |
---|---|
static AmazonWebServiceRequest |
AmazonWebServiceRequest.NOOP |
Modifier and Type | Method and Description |
---|---|
protected <T extends AmazonWebServiceRequest> |
AmazonWebServiceClient.beforeClientExecution(T request)
Notify request handlers that we are about to start execution.
|
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.withRequestCredentialsProvider(AWSCredentialsProvider credentialsProvider)
Sets the optional credentials provider to use for this request, overriding the default credentials
provider at the client level.
|
<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.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withSdkClientExecutionTimeout(int sdkClientExecutionTimeout)
Sets the amount of time (in milliseconds) to allow the client to complete the execution of
an API call.
|
<T extends AmazonWebServiceRequest> |
AmazonWebServiceRequest.withSdkRequestTimeout(int sdkRequestTimeout)
Sets the amount of time to wait (in milliseconds) for the request to complete before giving
up and timing out.
|
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceRequest |
AmazonWebServiceRequest.clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 ExecutionContext |
AmazonWebServiceClient.createExecutionContext(AmazonWebServiceRequest req,
SignerProvider signerProvider) |
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 | Class and Description |
---|---|
static class |
PresignerFacade.PresigningRequest
Empty request object useful for setting request level credentials without having the user facing presiging request extend
from
AmazonWebServiceRequest . |
Modifier and Type | Method and Description |
---|---|
V |
EndpointDiscoveryCacheLoader.load(K key,
AmazonWebServiceRequest discoveryRequest)
Interface for loading an item from a cache based on a key value and the context
of an
AmazonWebServiceRequest . |
Modifier and Type | Method and Description |
---|---|
protected <T extends AmazonWebServiceRequest> |
ClientHandlerImpl.beforeMarshalling(T request)
Runs the
beforeMarshalling method of any RequestHandler2 s associated with
this client. |
Modifier and Type | Method and Description |
---|---|
abstract String |
EndpointDiscoveryIdentifiersRefreshCache.constructKey(String key,
AmazonWebServiceRequest discoveryRequest) |
URI |
EndpointDiscoveryIdentifiersRefreshCache.discoverEndpoint(String key,
AmazonWebServiceRequest request,
boolean required,
URI defaultEndpoint) |
abstract URI |
EndpointDiscoveryIdentifiersRefreshCache.get(K key,
AmazonWebServiceRequest discoveryRequest,
boolean required,
URI defaultEndpoint)
Abstract method to be implemented by each service to handle retrieving
endpoints from a cache.
|
ScheduledFuture<URI> |
EndpointDiscoveryIdentifiersRefreshCache.loadAndScheduleRefresh(String key,
AmazonWebServiceRequest request,
long refreshPeriod,
URI defaultEndpoint) |
abstract URI |
EndpointDiscoveryIdentifiersRefreshCache.put(String key,
AmazonWebServiceRequest discoveryRequest,
Map<String,String> endpointDetails,
URI defaultEndpoint)
Abstract method to be implemented by each service to handle storing endpoints
in it's cache.
|
Modifier and Type | Method and Description |
---|---|
static InputStream |
ProgressInputStream.inputStreamForRequest(InputStream is,
AmazonWebServiceRequest req)
Deprecated.
|
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 |
StackedRequestHandler.beforeExecution(AmazonWebServiceRequest origRequest) |
AmazonWebServiceRequest |
RequestHandler2.beforeExecution(AmazonWebServiceRequest request) |
AmazonWebServiceRequest |
IRequestHandler2.beforeExecution(AmazonWebServiceRequest request)
Runs any additional processing logic on the specified request object as soon as the request
is provided to the service client.
|
AmazonWebServiceRequest |
StackedRequestHandler.beforeMarshalling(AmazonWebServiceRequest origRequest) |
AmazonWebServiceRequest |
RequestHandler2.beforeMarshalling(AmazonWebServiceRequest request) |
AmazonWebServiceRequest |
IRequestHandler2.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 |
StackedRequestHandler.beforeExecution(AmazonWebServiceRequest origRequest) |
AmazonWebServiceRequest |
RequestHandler2.beforeExecution(AmazonWebServiceRequest request) |
AmazonWebServiceRequest |
IRequestHandler2.beforeExecution(AmazonWebServiceRequest request)
Runs any additional processing logic on the specified request object as soon as the request
is provided to the service client.
|
AmazonWebServiceRequest |
StackedRequestHandler.beforeMarshalling(AmazonWebServiceRequest origRequest) |
AmazonWebServiceRequest |
RequestHandler2.beforeMarshalling(AmazonWebServiceRequest request) |
AmazonWebServiceRequest |
IRequestHandler2.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.
|
Constructor and Description |
---|
AmazonWebServiceRequestAdapter(AmazonWebServiceRequest 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) |
Modifier and Type | Method and Description |
---|---|
static AWSCredentialsProvider |
CredentialUtils.getCredentialsProvider(AmazonWebServiceRequest req,
AWSCredentialsProvider base)
Returns the credentials provider that will be used to fetch the
credentials when signing the request.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Waiter<Input extends AmazonWebServiceRequest> |
class |
WaiterBuilder<Input extends AmazonWebServiceRequest,Output> |
class |
WaiterExecution<Input extends AmazonWebServiceRequest,Output> |
class |
WaiterExecutionBuilder<Input extends AmazonWebServiceRequest,Output> |
class |
WaiterHandler<Input extends AmazonWebServiceRequest>
Callbacks are executed synchronously.
|
class |
WaiterImpl<Input extends AmazonWebServiceRequest,Output> |
class |
WaiterParameters<Input extends AmazonWebServiceRequest> |
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceRequest |
PollingStrategyContext.getOriginalRequest() |
Modifier and Type | Method and Description |
---|---|
void |
NoOpWaiterHandler.onWaitSuccess(AmazonWebServiceRequest request) |
Copyright © 2021. All rights reserved.