public class S3JsonResponseHandler<T> extends AbstractS3ResponseHandler<T>
构造器和说明 |
---|
S3JsonResponseHandler(Unmarshaller<T,InputStream> responseUnmarshaller)
Constructs a new S3 response handler that will use the specified SAX
unmarshaller to turn the response into an object.
|
限定符和类型 | 方法和说明 |
---|---|
Map<String,String> |
getResponseHeaders()
Returns the headers from the processed response.
|
SCSWebServiceResponse<T> |
handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
needsConnectionLeftOpen, parseResponseMetadata, populateObjectMetadata
public S3JsonResponseHandler(Unmarshaller<T,InputStream> responseUnmarshaller)
responseUnmarshaller
- The SAX unmarshaller to use on the response from S3.public SCSWebServiceResponse<T> 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)
Copyright © 2016. All rights reserved.