Uses of Class
com.amazonaws.Response
Packages that use Response
Package
Description
Classes used to support the AWS SDK metrics API.
-
Uses of Response in com.amazonaws
Methods in com.amazonaws with parameters of type ResponseModifier and TypeMethodDescriptionprotected final void
AmazonWebServiceClient.endClientExecution
(AWSRequestMetrics awsRequestMetrics, Request<?> request, Response<?> response) Convenient method to end the client execution without logging the awsRequestMetrics.protected final 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. -
Uses of Response in com.amazonaws.handlers
Methods in com.amazonaws.handlers with parameters of type ResponseModifier and TypeMethodDescriptionvoid
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
StackedRequestHandler.afterError
(Request<?> request, Response<?> response, Exception e) 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
StackedRequestHandler.afterResponse
(Request<?> request, Response<?> response) -
Uses of Response in com.amazonaws.http
Methods in com.amazonaws.http that return ResponseModifier and TypeMethodDescription<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. -
Uses of Response in com.amazonaws.http.timers.client
Methods in com.amazonaws.http.timers.client that return ResponseConstructors in com.amazonaws.http.timers.client with parameters of type Response -
Uses of Response in com.amazonaws.metrics
Methods in com.amazonaws.metrics with parameters of type ResponseModifier and TypeMethodDescriptionabstract void
RequestMetricCollector.collectMetrics
(Request<?> request, Response<?> response) Used to collect the metric at the end of a request/response cycle. -
Uses of Response in com.amazonaws.metrics.internal.cloudwatch
Methods in com.amazonaws.metrics.internal.cloudwatch with parameters of type ResponseModifier and TypeMethodDescriptionvoid
RequestMetricCollectorSupport.collectMetrics
(Request<?> request, Response<?> response) Collects the metrics at the end of a request/response cycle, transforms the metric data points into a cloud watch metric datum representation, and then adds it to a memory queue so it will get summarized into the necessary statistics and uploaded to Amazon CloudWatch.PredefinedMetricTransformer.toMetricData
(MetricType metricType, Request<?> request, Response<?> response) Returns a non-null list of metric datum for the metrics collected for the given request/response. -
Uses of Response in com.amazonaws.metrics.internal.cloudwatch.spi
Methods in com.amazonaws.metrics.internal.cloudwatch.spi with parameters of type ResponseModifier and TypeMethodDescriptionRequestMetricTransformer.toMetricData
(MetricType metricType, Request<?> request, Response<?> response) Returns a list of metric datum for the metrics collected for the given request/response, or null if this transformer does not recognize the specific input metric type.