Class XmlProtocolSpec
- java.lang.Object
-
- software.amazon.awssdk.codegen.poet.client.specs.QueryProtocolSpec
-
- software.amazon.awssdk.codegen.poet.client.specs.XmlProtocolSpec
-
- All Implemented Interfaces:
ProtocolSpec
public final class XmlProtocolSpec extends QueryProtocolSpec
-
-
Field Summary
-
Fields inherited from class software.amazon.awssdk.codegen.poet.client.specs.QueryProtocolSpec
intermediateModel, poetExtensions
-
-
Constructor Summary
Constructors Constructor Description XmlProtocolSpec(IntermediateModel model, PoetExtension poetExtensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.squareup.javapoet.CodeBlockasyncExecutionHandler(IntermediateModel intermediateModel, OperationModel opModel)Execution handler invocation only differs for protocols that support streaming outputs (REST-JSON, REST-XML).Optional<com.squareup.javapoet.CodeBlock>errorResponseHandler(OperationModel opModel)com.squareup.javapoet.CodeBlockexecutionHandler(OperationModel opModel)protected Class<?>protocolFactoryClass()com.squareup.javapoet.CodeBlockresponseHandler(IntermediateModel model, OperationModel opModel)-
Methods inherited from class software.amazon.awssdk.codegen.poet.client.specs.QueryProtocolSpec
createErrorResponseHandler, initProtocolFactory, protocolFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.codegen.poet.client.specs.ProtocolSpec
additionalMethods, asyncMarshaller, createEventstreamErrorResponseHandler, credentialType, discoveredEndpoint, executeFutureValueType, getClientHandlerClass, getPojoResponseType, hostPrefixExpression, populateHttpStatusCode, publishMetrics, publishMetricsWhenComplete, registerModeledExceptions, streamingMarshallerCode, streamingOutputWhenComplete, syncStreamingMarshaller
-
-
-
-
Constructor Detail
-
XmlProtocolSpec
public XmlProtocolSpec(IntermediateModel model, PoetExtension poetExtensions)
-
-
Method Detail
-
protocolFactoryClass
protected Class<?> protocolFactoryClass()
- Overrides:
protocolFactoryClassin classQueryProtocolSpec
-
responseHandler
public com.squareup.javapoet.CodeBlock responseHandler(IntermediateModel model, OperationModel opModel)
- Specified by:
responseHandlerin interfaceProtocolSpec- Overrides:
responseHandlerin classQueryProtocolSpec
-
errorResponseHandler
public Optional<com.squareup.javapoet.CodeBlock> errorResponseHandler(OperationModel opModel)
- Specified by:
errorResponseHandlerin interfaceProtocolSpec- Overrides:
errorResponseHandlerin classQueryProtocolSpec
-
executionHandler
public com.squareup.javapoet.CodeBlock executionHandler(OperationModel opModel)
- Specified by:
executionHandlerin interfaceProtocolSpec- Overrides:
executionHandlerin classQueryProtocolSpec
-
asyncExecutionHandler
public com.squareup.javapoet.CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, OperationModel opModel)
Description copied from interface:ProtocolSpecExecution handler invocation only differs for protocols that support streaming outputs (REST-JSON, REST-XML).- Specified by:
asyncExecutionHandlerin interfaceProtocolSpec- Overrides:
asyncExecutionHandlerin classQueryProtocolSpec
-
-