public class S3ErrorResponseHandler extends Object implements HttpResponseHandler<SCSServiceException>
构造器和说明 |
---|
S3ErrorResponseHandler() |
限定符和类型 | 方法和说明 |
---|---|
SCSServiceException |
handle(HttpResponse errorResponse)
Accepts an HTTP response object, and returns an object of type T.
|
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 SCSServiceException handle(HttpResponse errorResponse) throws Exception
HttpResponseHandler
handle
在接口中 HttpResponseHandler<SCSServiceException>
errorResponse
- 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)
public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen
在接口中 HttpResponseHandler<SCSServiceException>
com.amazonaws.http.HttpResponseHandler#needsConnectionLeftOpen()
Copyright © 2016. All rights reserved.