T - The output type resulting from handling a response.public abstract class AbstractS3ResponseHandler<T> extends Object implements HttpResponseHandler<SCSWebServiceResponse<T>>
| 构造器和说明 |
|---|
AbstractS3ResponseHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
needsConnectionLeftOpen()
The majority of S3 response handlers read the complete response while
handling it, and don't need to manually manage the underlying HTTP
connection.
|
protected SCSWebServiceResponse<T> |
parseResponseMetadata(HttpResponse response)
Parses the S3 response metadata (ex: AWS request ID) from the specified
response, and returns a AmazonWebServiceResponse
|
protected void |
populateObjectMetadata(HttpResponse response,
ObjectMetadata metadata)
Populates the specified S3ObjectMetadata object with all object metadata
pulled from the headers in the specified response.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlepublic boolean needsConnectionLeftOpen()
needsConnectionLeftOpen 在接口中 HttpResponseHandler<SCSWebServiceResponse<T>>com.amazonaws.http.HttpResponseHandler#needsConnectionLeftOpen()protected SCSWebServiceResponse<T> parseResponseMetadata(HttpResponse response)
response - The response containing the response metadata to pull out.protected void populateObjectMetadata(HttpResponse response, ObjectMetadata metadata)
response - The HTTP response containing the object metadata within the
headers.metadata - The metadata object to populate from the response's headers.Copyright © 2016-2017. All Rights Reserved.