public class ApiGatewayResponseHandler<T extends BaseResult> extends Object implements HttpResponseHandler<T>
X_AMZ_REQUEST_ID_ALTERNATIVE_HEADER, X_AMZN_EXTENDED_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER| Constructor and Description |
|---|
ApiGatewayResponseHandler(HttpResponseHandler<AmazonWebServiceResponse<T>> delegate) |
| Modifier and Type | Method and Description |
|---|---|
T |
handle(HttpResponse httpResponse) |
boolean |
needsConnectionLeftOpen() |
public ApiGatewayResponseHandler(HttpResponseHandler<AmazonWebServiceResponse<T>> delegate)
public T handle(HttpResponse httpResponse) throws Exception
handle in interface HttpResponseHandler<T extends BaseResult>Exceptionpublic boolean needsConnectionLeftOpen()
needsConnectionLeftOpen in interface HttpResponseHandler<T extends BaseResult>Copyright © 2020. All rights reserved.