public class AwsXmlProtocolFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsXmlProtocolFactory.Builder<SubclassT extends AwsXmlProtocolFactory.Builder>
Builder for
AwsXmlProtocolFactory. |
| Modifier and Type | Field and Description |
|---|---|
static OperationMetadataAttribute<String> |
ROOT_MARSHALL_LOCATION_ATTRIBUTE
Some services like Route53 specifies the location for the request shape.
|
static OperationMetadataAttribute<String> |
XML_NAMESPACE_ATTRIBUTE
Attribute for configuring the XML namespace to include in the xmlns attribute of the root element.
|
public static final OperationMetadataAttribute<String> XML_NAMESPACE_ATTRIBUTE
public static final OperationMetadataAttribute<String> ROOT_MARSHALL_LOCATION_ATTRIBUTE
public ProtocolMarshaller<SdkHttpFullRequest> createProtocolMarshaller(OperationInfo operationInfo)
XmlProtocolMarshaller to be used for marshalling the request.operationInfo - Info required to marshall the requestpublic <T extends SdkPojo> HttpResponseHandler<T> createResponseHandler(Supplier<SdkPojo> pojoSupplier, XmlOperationMetadata staxOperationMetadata)
public <T extends SdkPojo> HttpResponseHandler<T> createResponseHandler(Function<SdkHttpFullResponse,SdkPojo> pojoSupplier, XmlOperationMetadata staxOperationMetadata)
protected <T extends AwsResponse> Function<AwsXmlUnmarshallingContext,T> createResponseTransformer(Supplier<SdkPojo> pojoSupplier)
protected Function<AwsXmlUnmarshallingContext,AwsServiceException> createErrorTransformer()
public HttpResponseHandler<AwsServiceException> createErrorResponseHandler()
public <T extends AwsResponse> HttpResponseHandler<Response<T>> createCombinedResponseHandler(Supplier<SdkPojo> pojoSupplier, XmlOperationMetadata staxOperationMetadata)
public static AwsXmlProtocolFactory.Builder builder()
Copyright © 2022. All rights reserved.