Modifier and Type | Method and Description |
---|---|
HttpResponse |
Response.getHttpResponse() |
Constructor and Description |
---|
Response(T response,
HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
---|---|
static SdkHttpMetadata |
SdkHttpMetadata.from(HttpResponse httpResponse)
Static factory to create an
SdkHttpMetadata from the details in a HttpResponse . |
AmazonServiceException |
DefaultErrorResponseHandler.handle(HttpResponse errorResponse) |
AmazonWebServiceResponse<T> |
StaxResponseHandler.handle(HttpResponse response) |
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<T> |
JsonResponseHandler.handle(HttpResponse response) |
T |
HttpResponseHandler.handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
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) |
Modifier and Type | Method and Description |
---|---|
String |
CompositeErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
String |
IonErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContents) |
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 |
---|---|
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 |
---|---|
HttpResponse |
JsonUnmarshallerContextImpl.getHttpResponse() |
HttpResponse |
StaxUnmarshallerContext.getHttpResponse()
Returns the original HttpResponse constructed for this request.
|
HttpResponse |
JsonUnmarshallerContext.getHttpResponse()
Returns the original HttpResponse constructed for this request.
|
Constructor and Description |
---|
JsonUnmarshallerContextImpl(com.fasterxml.jackson.core.JsonParser jsonParser,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> mapper,
HttpResponse httpResponse) |
JsonUnmarshallerContextImpl(com.fasterxml.jackson.core.JsonParser jsonParser,
Map<Class<?>,Unmarshaller<?,JsonUnmarshallerContext>> mapper,
Map<JsonUnmarshallerContext.UnmarshallerType,Unmarshaller<?,JsonUnmarshallerContext>> customUnmarshallerMap,
HttpResponse httpResponse) |
StaxUnmarshallerContext(XMLEventReader eventReader,
Map<String,String> headers,
HttpResponse httpResponse)
Constructs a new unmarshaller context using the specified source of XML
events, and a set of response headers.
|
Copyright © 2023. All rights reserved.