Class AwsQueryProtocolFactory
- java.lang.Object
- 
- software.amazon.awssdk.protocols.query.AwsQueryProtocolFactory
 
- 
- Direct Known Subclasses:
- AwsEc2ProtocolFactory
 
 public class AwsQueryProtocolFactory extends Object Protocol factory for the AWS/Query protocol.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAwsQueryProtocolFactory.Builder<SubclassT extends AwsQueryProtocolFactory.Builder>Builder forAwsQueryProtocolFactory.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsQueryProtocolFactory.Builderbuilder()HttpResponseHandler<AwsServiceException>createErrorResponseHandler()ProtocolMarshaller<SdkHttpFullRequest>createProtocolMarshaller(OperationInfo operationInfo)Creates a new marshaller for the given request.<T extends AwsResponse>
 HttpResponseHandler<T>createResponseHandler(Supplier<SdkPojo> pojoSupplier)Creates the success response handler to unmarshall the response into a POJO.
 
- 
- 
- 
Method Detail- 
createProtocolMarshallerpublic 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.
 
 - 
createResponseHandlerpublic 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.
 
 - 
createErrorResponseHandlerpublic final HttpResponseHandler<AwsServiceException> createErrorResponseHandler() - Returns:
- A HttpResponseHandlerthat will unmarshall the service exceptional response into a modeled exception or the service base exception.
 
 - 
builderpublic static AwsQueryProtocolFactory.Builder builder() - Returns:
- New Builder instance.
 
 
- 
 
-