Class AwsQueryProtocolFactory
java.lang.Object
software.amazon.awssdk.protocols.query.AwsQueryProtocolFactory
- Direct Known Subclasses:
 AwsEc2ProtocolFactory
Protocol factory for the AWS/Query protocol.
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()createProtocolMarshaller(OperationInfo operationInfo) Creates a new marshaller for the given request.final <T extends AwsResponse>
HttpResponseHandler<T> createResponseHandler(Supplier<SdkPojo> pojoSupplier) Creates the success response handler to unmarshall the response into a POJO. 
- 
Method Details
- 
createProtocolMarshaller
public final ProtocolMarshaller<SdkHttpFullRequest> createProtocolMarshaller(OperationInfo operationInfo) Creates a new marshaller for the given request.- Parameters:
 operationInfo- Object containing metadata about the operation.- Returns:
 - New 
ProtocolMarshaller. 
 - 
createResponseHandler
public final <T extends AwsResponse> HttpResponseHandler<T> createResponseHandler(Supplier<SdkPojo> pojoSupplier) Creates the success response handler to unmarshall the response into a POJO.- Type Parameters:
 T- Type being unmarshalled.- Parameters:
 pojoSupplier- Supplier of the POJO builder we are unmarshalling into.- Returns:
 - New 
HttpResponseHandlerfor success responses. 
 - 
createErrorResponseHandler
- Returns:
 - A 
HttpResponseHandlerthat will unmarshall the service exceptional response into a modeled exception or the service base exception. 
 - 
builder
- Returns:
 - New Builder instance.
 
 
 -