public class S3ObjectResponseHandler extends AbstractS3ResponseHandler<S3Object>
构造器和说明 |
---|
S3ObjectResponseHandler() |
限定符和类型 | 方法和说明 |
---|---|
SCSWebServiceResponse<S3Object> |
handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
boolean |
needsConnectionLeftOpen()
Returns true, since the entire response isn't read while this response
handler handles the response.
|
parseResponseMetadata, populateObjectMetadata
public SCSWebServiceResponse<S3Object> handle(HttpResponse response) throws Exception
HttpResponseHandler
response
- The HTTP response to handle, as received from an AWS service.Exception
- If any problems are encountered handling the response.com.amazonaws.http.HttpResponseHandler#handle(com.amazonaws.http.HttpResponse)
public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen
在接口中 HttpResponseHandler<SCSWebServiceResponse<S3Object>>
needsConnectionLeftOpen
在类中 AbstractS3ResponseHandler<S3Object>
com.amazonaws.http.HttpResponseHandler#needsConnectionLeftOpen()
Copyright © 2016. All rights reserved.