public class ErrorDuringUnmarshallingResponseHandler extends NullResponseHandler
X_AMZN_EXTENDED_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER
Constructor and Description |
---|
ErrorDuringUnmarshallingResponseHandler() |
Modifier and Type | Method and Description |
---|---|
AmazonWebServiceResponse<Object> |
handle(HttpResponse response)
Accepts an HTTP response object, and returns an object of type T.
|
assertIsUnmarshallingException, leaveConnectionOpen, needsConnectionLeftOpen
public ErrorDuringUnmarshallingResponseHandler()
public AmazonWebServiceResponse<Object> handle(HttpResponse response) throws Exception
HttpResponseHandler
handle
in interface HttpResponseHandler<AmazonWebServiceResponse<Object>>
handle
in class NullResponseHandler
response
- The HTTP response to handle, as received from an AWS service.Exception
- If any problems are encountered handling the response.Copyright © 2020. All rights reserved.