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, populateObjectMetadatapublic AmazonWebServiceResponse<S3Object> handle(HttpResponse response) throws Exception
ExceptionHttpResponseHandler.handle(com.amazonaws.http.HttpResponse)public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen in interface HttpResponseHandler<AmazonWebServiceResponse<S3Object>>needsConnectionLeftOpen in class AbstractS3ResponseHandler<S3Object>HttpResponseHandler.needsConnectionLeftOpen()Copyright © 2017. All rights reserved.