Class AwsQueryResponseHandler<T extends AwsResponse>
java.lang.Object
software.amazon.awssdk.protocols.query.internal.unmarshall.AwsQueryResponseHandler<T>
- Type Parameters:
T- Indicates the type being unmarshalled by this response handler.
- All Implemented Interfaces:
HttpResponseHandler<T>
@SdkInternalApi
public final class AwsQueryResponseHandler<T extends AwsResponse>
extends Object
implements HttpResponseHandler<T>
Response handler for AWS/Query services and Amazon EC2 which is a dialect of the Query protocol.
-
Field Summary
Fields inherited from interface software.amazon.awssdk.core.http.HttpResponseHandler
X_AMZ_ID_2_HEADER, X_AMZN_REQUEST_ID_HEADER, X_AMZN_REQUEST_ID_HEADER_ALTERNATE, X_AMZN_REQUEST_ID_HEADERS -
Constructor Summary
ConstructorsConstructorDescriptionAwsQueryResponseHandler(QueryProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse, SdkPojo> pojoSupplier) -
Method Summary
Modifier and TypeMethodDescriptionhandle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) boolean
-
Constructor Details
-
AwsQueryResponseHandler
public AwsQueryResponseHandler(QueryProtocolUnmarshaller unmarshaller, Function<SdkHttpFullResponse, SdkPojo> pojoSupplier)
-
-
Method Details
-
handle
public T handle(SdkHttpFullResponse response, ExecutionAttributes executionAttributes) throws Exception - Specified by:
handlein interfaceHttpResponseHandler<T extends AwsResponse>- Throws:
Exception
-
needsConnectionLeftOpen
public boolean needsConnectionLeftOpen()- Specified by:
needsConnectionLeftOpenin interfaceHttpResponseHandler<T extends AwsResponse>
-