public class S3ErrorResponseHandler extends Object implements com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException>
| Constructor and Description |
|---|
S3ErrorResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
com.amazonaws.AmazonServiceException |
handle(com.amazonaws.http.HttpResponse httpResponse) |
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 com.amazonaws.AmazonServiceException handle(com.amazonaws.http.HttpResponse httpResponse)
throws XMLStreamException
handle in interface com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException>XMLStreamExceptionpublic boolean needsConnectionLeftOpen()
needsConnectionLeftOpen in interface com.amazonaws.http.HttpResponseHandler<com.amazonaws.AmazonServiceException>HttpResponseHandler.needsConnectionLeftOpen()Copyright © 2014. All rights reserved.