Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.handlers | |
com.amazonaws.http | |
com.amazonaws.http.apache.request.impl | |
com.amazonaws.http.request | |
com.amazonaws.metrics |
Classes used to support the AWS SDK metrics API.
|
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.
|
protected RequestMetricCollector |
AmazonWebServiceClient.findRequestMetricCollector(Request<?> req)
Returns the most specific request metric collector, starting from the
request level, then client level, then finally the AWS SDK level.
|
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 |
StackedRequestHandler.afterError(Request<?> request,
Response<?> response,
Exception e) |
void |
IRequestHandler2.afterError(Request<?> request,
Response<?> response,
Exception e)
Runs any additional processing logic on a request after it has failed.
|
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 |
StackedRequestHandler.afterResponse(Request<?> request,
Response<?> response) |
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 |
RequestHandler2.afterResponse(Request<?> request,
Response<?> response) |
void |
AbstractRequestHandler.beforeRequest(Request<?> request)
Deprecated.
|
void |
RequestHandler.beforeRequest(Request<?> request)
Deprecated.
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
void |
StackedRequestHandler.beforeRequest(Request<?> request) |
void |
IRequestHandler2.beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it is executed by the
client runtime).
|
void |
RequestHandler2.beforeRequest(Request<?> request) |
HttpResponse |
StackedRequestHandler.beforeUnmarshalling(Request<?> request,
HttpResponse origHttpResponse) |
HttpResponse |
IRequestHandler2.beforeUnmarshalling(Request<?> request,
HttpResponse httpResponse)
Runs any additional processing logic on the specified response before it's unmarshalled.
|
HttpResponse |
RequestHandler2.beforeUnmarshalling(Request<?> request,
HttpResponse httpResponse) |
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)
Executes the request and returns the result.
|
<T> Response<T> |
AmazonHttpClient.executeWithTimer(Request<?> request,
HttpResponseHandler<AmazonWebServiceResponse<T>> responseHandler,
HttpResponseHandler<AmazonServiceException> errorResponseHandler,
ExecutionContext executionContext)
Start and end client execution timer around the execution of the request.
|
Constructor and Description |
---|
HttpResponse(Request<?> request,
org.apache.http.client.methods.HttpRequestBase httpRequest)
Constructs a new HttpResponse associated with the specified request.
|
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.
|
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 String |
UriResourcePathUtils.addStaticQueryParamtersToRequest(Request<?> request,
String uriResourcePath)
Identifies the static query parameters in Uri resource path for and adds it to
request.
|
Copyright © 2016. All rights reserved.