T
- Indicates the type being unmarshalled by this response handler.public final class AwsQueryResponseHandler<T extends AwsResponse> extends Object implements HttpResponseHandler<T>
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER_ALTERNATE, X_AMZN_REQUEST_ID_HEADERS
Constructor and Description |
---|
AwsQueryResponseHandler(QueryProtocolUnmarshaller unmarshaller,
Function<SdkHttpFullResponse,SdkPojo> pojoSupplier) |
Modifier and Type | Method and Description |
---|---|
T |
handle(SdkHttpFullResponse response,
ExecutionAttributes executionAttributes) |
boolean |
needsConnectionLeftOpen() |
public AwsQueryResponseHandler(QueryProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse,SdkPojo> pojoSupplier)
public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception
handle
in interface HttpResponseHandler<T extends AwsResponse>
Exception
public boolean needsConnectionLeftOpen()
needsConnectionLeftOpen
in interface HttpResponseHandler<T extends AwsResponse>
Copyright © 2022. All rights reserved.