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.
|
Modifier and Type | Method and Description |
---|---|
static AwsXmlProtocolFactory.Builder |
builder() |
HttpResponseHandler<AwsServiceException> |
createErrorResponseHandler() |
ProtocolMarshaller<SdkHttpFullRequest> |
createProtocolMarshaller(OperationInfo operationInfo)
Creates an instance of
XmlProtocolMarshaller to be used for marshalling the requess. |
<T extends AwsResponse> |
createResponseHandler(Supplier<SdkPojo> pojoSupplier,
XmlOperationMetadata staxOperationMetadata) |
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 requess.operationInfo
- Info required to marshall the requestpublic <T extends AwsResponse> HttpResponseHandler<T> createResponseHandler(Supplier<SdkPojo> pojoSupplier, XmlOperationMetadata staxOperationMetadata)
public HttpResponseHandler<AwsServiceException> createErrorResponseHandler()
public static AwsXmlProtocolFactory.Builder builder()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.