public class ResponseHeaderHandlerChain<T> extends S3XmlResponseHandler<T>
X_AMZN_REQUEST_ID_HEADER
Constructor and Description |
---|
ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller,
HeaderHandler<T>... headerHandlers) |
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceResponse<T> |
handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
getResponseHeaders
needsConnectionLeftOpen
public ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller, HeaderHandler<T>... headerHandlers)
public AmazonWebServiceResponse<T> handle(HttpResponse response) throws Exception
HttpResponseHandler
handle
in interface HttpResponseHandler<AmazonWebServiceResponse<T>>
handle
in class S3XmlResponseHandler<T>
response
- The HTTP response to handle, as received from an AWS service.Exception
- If any problems are encountered handling the response.HttpResponseHandler.handle(com.amazonaws.http.HttpResponse)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.