public class S3ObjectResponseHandler extends AbstractS3ResponseHandler<S3Object>
X_AMZN_REQUEST_ID_HEADER
Constructor and Description |
---|
S3ObjectResponseHandler() |
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceResponse<S3Object> |
handle(HttpResponse response) |
boolean |
needsConnectionLeftOpen()
Returns true, since the entire response isn't read while this response
handler handles the response.
|
parseResponseMetadata, populateObjectMetadata
public AmazonWebServiceResponse<S3Object> handle(HttpResponse response) throws Exception
Exception
HttpResponseHandler.handle(com.amazonaws.http.HttpResponse)
public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen
in interface HttpResponseHandler<AmazonWebServiceResponse<S3Object>>
needsConnectionLeftOpen
in class AbstractS3ResponseHandler<S3Object>
HttpResponseHandler.needsConnectionLeftOpen()
Copyright © 2018. All rights reserved.