Abstract HTTP response handler for Amazon S3 responses. Provides common
utilities that other specialized S3 response handlers need to share such as
pulling common response metadata (ex: request IDs) out of headers.
The output type resulting from handling a response.
The set of response headers that aren't part of the object's metadata
The majority of S3 response handlers read the complete response while
handling it, and don't need to manually manage the underlying HTTP
Parses the S3 response metadata (ex: AWS request ID) from the specified
response, and returns a AmazonWebServiceResponse<T> object ready for the
result to be plugged in.
The response containing the response metadata to pull out.
- A new, populated AmazonWebServiceResponse<T> object, ready for
the result to be plugged in.
Populates the specified S3ObjectMetadata object with all object metadata
pulled from the headers in the specified response.
The HTTP response containing the object metadata within the
The metadata object to populate from the response's headers.
log.warn("Unable to parse http expiration date: " + header.getValue(), pe);