Modifier and Type | Method and Description |
---|---|
HttpResponse |
Response.getHttpResponse() |
Constructor and Description |
---|
Response(T response,
HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
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) |
HttpResponse |
StackedRequestHandler.beforeUnmarshalling(Request<?> request,
HttpResponse origHttpResponse) |
Modifier and Type | Method and Description |
---|---|
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) |
HttpResponse |
StackedRequestHandler.beforeUnmarshalling(Request<?> request,
HttpResponse origHttpResponse) |
Modifier and Type | Method and Description |
---|---|
static SdkHttpMetadata |
SdkHttpMetadata.from(HttpResponse httpResponse)
Static factory to create an
SdkHttpMetadata from the details in a HttpResponse . |
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
T |
HttpResponseHandler.handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<T> |
JsonResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<T> |
StaxResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
static HttpResponse |
ApacheUtils.createResponse(Request<?> request,
org.apache.http.client.methods.HttpRequestBase method,
org.apache.http.HttpResponse apacheHttpResponse,
org.apache.http.protocol.HttpContext context)
Creates and initializes an HttpResponse object suitable to be passed to an HTTP response
handler object.
|
Modifier and Type | Method and Description |
---|---|
T |
AwsResponseHandlerAdapter.handle(HttpResponse response) |
AmazonWebServiceResponse<String> |
DummyResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<Object> |
EmptyAWSResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<Object> |
ErrorDuringUnmarshallingResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
NullErrorResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<Object> |
NullResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
UnresponsiveErrorResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<Object> |
UnresponsiveResponseHandler.handle(HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
CompositeErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
String |
ErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
String |
JsonErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent)
Parse the error code from the response.
|
String |
JsonErrorMessageParser.parseErrorMessage(HttpResponse httpResponse,
com.fasterxml.jackson.databind.JsonNode jsonNode)
Parse the error message from the response.
|
Modifier and Type | Method and Description |
---|---|
static JsonContent |
JsonContent.createJsonContent(HttpResponse httpResponse,
com.fasterxml.jackson.core.JsonFactory jsonFactory)
Static factory method to create a JsonContent object from the contents of the HttpResponse
provided
|
Modifier and Type | Method and Description |
---|---|
AmazonServiceException |
RetryPolicyTestBase.TestHttpResponseHandler.handle(HttpResponse response) |
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 |
---|---|
static <T> HttpResponseHandler<AmazonWebServiceResponse<T>> |
HttpResponseHandlers.responseHandler(utils.http.HttpResponseHandlers.FunctionWithException<HttpResponse,T> handle) |
Copyright © 2024. All rights reserved.