public class ApiGatewayErrorResponseHandler extends Object implements HttpResponseHandler<SdkBaseException>
X_AMZ_REQUEST_ID_ALTERNATIVE_HEADER, X_AMZN_EXTENDED_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER| Constructor and Description |
|---|
ApiGatewayErrorResponseHandler(List<ApiGatewayErrorUnmarshaller> errorUnmarshallers,
com.fasterxml.jackson.core.JsonFactory jsonFactory) |
| Modifier and Type | Method and Description |
|---|---|
SdkBaseException |
handle(HttpResponse response) |
boolean |
needsConnectionLeftOpen() |
public ApiGatewayErrorResponseHandler(List<ApiGatewayErrorUnmarshaller> errorUnmarshallers, com.fasterxml.jackson.core.JsonFactory jsonFactory)
public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen in interface HttpResponseHandler<SdkBaseException>public SdkBaseException handle(HttpResponse response) throws Exception
handle in interface HttpResponseHandler<SdkBaseException>ExceptionCopyright © 2020. All rights reserved.