public class AwsQueryProtocolFactory extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AwsQueryProtocolFactory.Builder<SubclassT extends AwsQueryProtocolFactory.Builder>
Builder for  
AwsQueryProtocolFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
static AwsQueryProtocolFactory.Builder | 
builder()  | 
HttpResponseHandler<AwsServiceException> | 
createErrorResponseHandler()  | 
ProtocolMarshaller<SdkHttpFullRequest> | 
createProtocolMarshaller(OperationInfo operationInfo)
Creates a new marshaller for the given request. 
 | 
<T extends AwsResponse> | 
createResponseHandler(Supplier<SdkPojo> pojoSupplier)
Creates the success response handler to unmarshall the response into a POJO. 
 | 
public final ProtocolMarshaller<SdkHttpFullRequest> createProtocolMarshaller(OperationInfo operationInfo)
operationInfo - Object containing metadata about the operation.ProtocolMarshaller.public final <T extends AwsResponse> HttpResponseHandler<T> createResponseHandler(Supplier<SdkPojo> pojoSupplier)
T - Type being unmarshalled.pojoSupplier - Supplier of the POJO builder we are unmarshalling into.HttpResponseHandler for success responses.public final HttpResponseHandler<AwsServiceException> createErrorResponseHandler()
HttpResponseHandler that will unmarshall the service exceptional response into
 a modeled exception or the service base exception.public static AwsQueryProtocolFactory.Builder builder()
Copyright © 2021. All rights reserved.