public class S3StringResponseHandler extends AbstractS3ResponseHandler<String>
X_AMZ_REQUEST_ID_ALTERNATIVE_HEADER, X_AMZN_EXTENDED_REQUEST_ID_HEADER, X_AMZN_QUERY_ERROR, X_AMZN_REQUEST_ID_HEADER | Constructor and Description |
|---|
S3StringResponseHandler () |
| Modifier and Type | Method and Description |
|---|---|
AmazonWebServiceResponse<String> |
handle (HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
needsConnectionLeftOpen public S3StringResponseHandler()
public AmazonWebServiceResponse<String> 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.