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) |
AmazonServiceException |
JsonErrorResponseHandler.handle(HttpResponse response) |
T |
HttpResponseHandler.handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
AmazonWebServiceResponse<T> |
StaxResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<T> |
JsonResponseHandler.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) |
Modifier and Type | Method and Description |
---|---|
String |
CompositeErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
String |
JsonErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent)
Parse the error code from the response.
|
String |
ErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContent) |
String |
IonErrorCodeParser.parseErrorCode(HttpResponse response,
JsonContent jsonContents) |
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 |
---|---|
AmazonServiceException |
S3ErrorResponseHandler.handle(HttpResponse httpResponse) |
AmazonWebServiceResponse<T> |
S3XmlResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<T> |
ResponseHeaderHandlerChain.handle(HttpResponse response) |
AmazonWebServiceResponse<ObjectMetadata> |
S3MetadataResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<S3Object> |
S3ObjectResponseHandler.handle(HttpResponse response) |
AmazonWebServiceResponse<String> |
S3StringResponseHandler.handle(HttpResponse response) |
void |
InitiateMultipartUploadHeaderHandler.handle(InitiateMultipartUploadResult result,
HttpResponse response) |
void |
ListPartsHeaderHandler.handle(PartListing result,
HttpResponse response) |
void |
ObjectTransitionHeaderHandler.handle(T result,
HttpResponse response) |
void |
ObjectExpirationHeaderHandler.handle(T result,
HttpResponse response) |
void |
S3RequesterChargedHeaderHandler.handle(T result,
HttpResponse response) |
void |
HeaderHandler.handle(T result,
HttpResponse response)
Applies one or more headers to the response object given.
|
void |
ObjectRestoreHeaderHandler.handle(T result,
HttpResponse response) |
void |
ServerSideEncryptionHeaderHandler.handle(T result,
HttpResponse response) |
protected AmazonWebServiceResponse<T> |
AbstractS3ResponseHandler.parseResponseMetadata(HttpResponse response)
Parses the S3 response metadata (ex: Amazon Web Services request ID) from the specified
response, and returns a AmazonWebServiceResponse
|
protected void |
AbstractS3ResponseHandler.populateObjectMetadata(HttpResponse response,
ObjectMetadata metadata)
Populates the specified S3ObjectMetadata object with all object metadata
pulled from the headers in the specified response.
|
AuthRetryParameters |
S3V4AuthErrorRetryStrategy.shouldRetryWithAuthParam(Request<?> request,
HttpResponse response,
AmazonServiceException ase) |
Copyright © 2024. All rights reserved.