Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.auth.presign | |
com.amazonaws.client | |
com.amazonaws.handlers | |
com.amazonaws.http | |
com.amazonaws.http.apache.request.impl | |
com.amazonaws.http.request | |
com.amazonaws.http.response | |
com.amazonaws.internal.auth | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
com.amazonaws.metrics.internal | |
com.amazonaws.protocol | |
com.amazonaws.protocol.json.internal | |
com.amazonaws.retry.internal | |
com.amazonaws.retry.v2 | |
com.amazonaws.util |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRequest<T>
Default implementation of the Request interface.
|
Modifier and Type | Method and Description |
---|---|
Request<T> |
Request.withParameter(String name,
String value)
Adds the specified request parameter to this request, and returns the
updated request object.
|
Request<T> |
DefaultRequest.withParameter(String name,
String value) |
Request<T> |
Request.withTimeOffset(int timeOffset)
Sets the optional value for time offset for this request.
|
Request<T> |
DefaultRequest.withTimeOffset(int timeOffset) |
Modifier and Type | Method and Description |
---|---|
protected ExecutionContext |
AmazonWebServiceClient.createExecutionContext(Request<?> req) |
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response)
Convenient method to end the client execution without logging the
awsRequestMetrics.
|
protected void |
AmazonWebServiceClient.endClientExecution(AWSRequestMetrics awsRequestMetrics,
Request<?> request,
Response<?> response,
boolean loggingAwsRequestMetrics)
Common routine to end a client AWS request/response execution and collect
the request metrics.
|
Modifier and Type | Method and Description |
---|---|
URL |
PresignerFacade.presign(Request<?> request,
Date expirationDate) |
Modifier and Type | Method and Description |
---|---|
Marshaller<Request<Input>,Input> |
ClientExecutionParams.getMarshaller() |
Modifier and Type | Method and Description |
---|---|
ClientExecutionParams<Input,Output> |
ClientExecutionParams.withMarshaller(Marshaller<Request<Input>,Input> marshaller) |
Modifier and Type | Method and Description |
---|---|
Request<?> |
HandlerBeforeAttemptContext.getRequest() |
Request<?> |
HandlerAfterAttemptContext.getRequest() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRequestHandler.afterError(Request<?> request,
Exception e)
Deprecated.
|
void |
RequestHandler.afterError(Request<?> request,
Exception e)
Deprecated.
Runs any additional processing logic on a request after it has failed.
|
void |
IRequestHandler2.afterError(Request<?> request,
Response<?> response,
Exception e)
Runs any additional processing logic on a request after it has failed.
|
void |
StackedRequestHandler.afterError(Request<?> request,
Response<?> response,
Exception e) |
void |
RequestHandler2.afterError(Request<?> request,
Response<?> response,
Exception e) |
void |
AbstractRequestHandler.afterResponse(Request<?> request,
Object response,
TimingInfo timingInfo)
Deprecated.
|
void |
RequestHandler.afterResponse(Request<?> request,
Object response,
TimingInfo timingInfo)
Deprecated.
Runs any additional processing logic on the specified request (after is
has been executed by the client runtime).
|
void |
IRequestHandler2.afterResponse(Request<?> request,
Response<?> response)
Runs any additional processing logic on the specified request (after is has been executed by
the client runtime).
|
void |
StackedRequestHandler.afterResponse(Request<?> request,
Response<?> response) |
void |
RequestHandler2.afterResponse(Request<?> request,
Response<?> response) |
void |
IRequestHandler2.beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it is executed by the
client runtime).
|
void |
AbstractRequestHandler.beforeRequest(Request<?> request)
Deprecated.
|
void |
StackedRequestHandler.beforeRequest(Request<?> request) |
void |
RequestHandler.beforeRequest(Request<?> request)
Deprecated.
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
void |
RequestHandler2.beforeRequest(Request<?> request) |
HttpResponse |
IRequestHandler2.beforeUnmarshalling(Request<?> request,
HttpResponse httpResponse)
Runs any additional processing logic on the specified response before it's unmarshalled.
|
HttpResponse |
StackedRequestHandler.beforeUnmarshalling(Request<?> request,
HttpResponse origHttpResponse) |
HttpResponse |
RequestHandler2.beforeUnmarshalling(Request<?> request,
HttpResponse httpResponse) |
HandlerBeforeAttemptContext.HandlerBeforeAttemptContextBuilder |
HandlerBeforeAttemptContext.HandlerBeforeAttemptContextBuilder.withRequest(Request<?> request)
Fluent set for what the request should be on the eventual HandlerBeforeAttemptContext instance
|
HandlerAfterAttemptContext.HandlerAfterAttemptContextBuilder |
HandlerAfterAttemptContext.HandlerAfterAttemptContextBuilder.withRequest(Request<?> request)
Fluent set for what the request should be on the eventual HandlerAfterAttemptContext instance
|
Modifier and Type | Method and Description |
---|---|
Request<?> |
HttpResponse.getRequest()
Returns the original request associated with this response.
|
Modifier and Type | Method and Description |
---|---|
<T> Response<T> |
AmazonHttpClient.execute(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Deprecated.
Use
AmazonHttpClient.requestExecutionBuilder() to configure and execute a HTTP request. |
AmazonHttpClient.RequestExecutionBuilder |
AmazonHttpClient.RequestExecutionBuilder.request(Request<?> request)
Fluent setter for
Request |
Constructor and Description |
---|
HttpResponse(Request<?> request,
org.apache.http.client.methods.HttpRequestBase httpRequest)
Constructs a new HttpResponse associated with the specified request.
|
HttpResponse(Request<?> request,
org.apache.http.client.methods.HttpRequestBase httpRequest,
org.apache.http.protocol.HttpContext context) |
RepeatableInputStreamRequestEntity(Request<?> request)
Creates a new RepeatableInputStreamRequestEntity using the information
from the specified request.
|
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.methods.HttpRequestBase |
ApacheHttpRequestFactory.create(Request<?> request,
HttpClientSettings settings) |
Modifier and Type | Method and Description |
---|---|
T |
HttpRequestFactory.create(Request<?> request,
HttpClientSettings settings)
A factory method for creating http requests accepted by the underlying
http client from the sdk request objects.
|
Constructor and Description |
---|
AwsResponseHandlerAdapter(HttpResponseHandler<AmazonWebServiceResponse<T>> delegate,
Request<?> request,
AWSRequestMetrics awsRequestMetrics,
MetadataCache responseMetadataCache) |
Modifier and Type | Method and Description |
---|---|
Request<?> |
SignerProviderContext.getRequest() |
Modifier and Type | Method and Description |
---|---|
SignerProviderContext.Builder |
SignerProviderContext.Builder.withRequest(Request<?> request) |
Modifier and Type | Method and Description |
---|---|
abstract void |
RequestMetricCollector.collectMetrics(Request<?> request,
Response<?> response)
Used to collect the metric at the end of a request/response cycle.
|
Modifier and Type | Method and Description |
---|---|
static ThroughputMetricType |
ServiceMetricTypeGuesser.guessThroughputMetricType(Request<?> req,
String metricNameSuffix,
String byteCountMetricNameSuffix)
Returned the best-guessed throughput metric type for the given request,
or null if there is none or if metric is disabled.
|
Modifier and Type | Method and Description |
---|---|
Request<OrigRequest> |
ProtocolRequestMarshaller.finishMarshalling()
Finializes the marshalling and produces a
Request object that can be sent for execution. |
Modifier and Type | Method and Description |
---|---|
Request<OrigRequest> |
NullAsEmptyBodyProtocolRequestMarshaller.finishMarshalling() |
Request<OrigRequest> |
JsonProtocolMarshaller.finishMarshalling() |
Request<?> |
JsonMarshallerContext.request() |
Modifier and Type | Method and Description |
---|---|
JsonMarshallerContext.Builder |
JsonMarshallerContext.Builder.request(Request<?> request) |
Modifier and Type | Method and Description |
---|---|
AuthRetryParameters |
AuthErrorRetryStrategy.shouldRetryWithAuthParam(Request<?> originalRequest,
HttpResponse response,
AmazonServiceException ase)
Returns an alternative signing context (consists of a new signer instance
and a new request endpoint) that should be used to retry the request.
|
Modifier and Type | Method and Description |
---|---|
Request<?> |
RetryPolicyContext.request() |
Modifier and Type | Method and Description |
---|---|
RetryPolicyContext.Builder |
RetryPolicyContext.Builder.request(Request<?> request) |
Modifier and Type | Method and Description |
---|---|
static String |
UriResourcePathUtils.addStaticQueryParamtersToRequest(Request<?> request,
String uriResourcePath)
Identifies the static query parameters in Uri resource path for and adds it to
request.
|
static URL |
RuntimeHttpUtils.convertRequestToUrl(Request<?> request,
boolean removeLeadingSlashInResourcePath,
boolean urlEncode)
Converts the specified request object into a URL, containing all the specified parameters, the specified request endpoint,
etc.
|
Copyright © 2017. All rights reserved.