public class ResponseHeaderHandlerChain<T> extends S3XmlResponseHandler<T>
X_AMZ_REQUEST_ID_ALTERNATIVE_HEADER, X_AMZN_EXTENDED_REQUEST_ID_HEADER, 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) |
getResponseHeaders
needsConnectionLeftOpen, parseResponseMetadata, populateObjectMetadata
public ResponseHeaderHandlerChain(Unmarshaller<T,InputStream> responseUnmarshaller, HeaderHandler<T>... headerHandlers)
public AmazonWebServiceResponse<T> handle(HttpResponse response) throws Exception
handle
in interface HttpResponseHandler<AmazonWebServiceResponse<T>>
handle
in class S3XmlResponseHandler<T>
Exception
HttpResponseHandler.handle(com.amazonaws.http.HttpResponse)
Copyright © 2022. All rights reserved.