public class S3ErrorResponseHandler extends Object implements HttpResponseHandler<AmazonServiceException>
| Constructor and Description |
|---|
S3ErrorResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
AmazonServiceException |
handle(HttpResponse errorResponse) |
boolean |
needsConnectionLeftOpen()
Since this response handler completely consumes all the data from the
underlying HTTP connection during the handle method, we don't need to
keep the HTTP connection open.
|
public AmazonServiceException handle(HttpResponse errorResponse) throws IOException
handle in interface HttpResponseHandler<AmazonServiceException>IOExceptionpublic boolean needsConnectionLeftOpen()
needsConnectionLeftOpen in interface HttpResponseHandler<AmazonServiceException>HttpResponseHandler.needsConnectionLeftOpen()Copyright © 2014. All rights reserved.