Class JsonProtocolSpec
java.lang.Object
software.amazon.awssdk.codegen.poet.client.specs.JsonProtocolSpec
- All Implemented Interfaces:
ProtocolSpec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.squareup.javapoet.CodeBlock
asyncExecutionHandler
(IntermediateModel intermediateModel, OperationModel opModel) Execution handler invocation only differs for protocols that support streaming outputs (REST-JSON, REST-XML).Optional
<com.squareup.javapoet.MethodSpec> Optional
<com.squareup.javapoet.CodeBlock> errorResponseHandler
(OperationModel opModel) com.squareup.javapoet.CodeBlock
executionHandler
(OperationModel opModel) com.squareup.javapoet.MethodSpec
com.squareup.javapoet.FieldSpec
protocolFactory
(IntermediateModel model) com.squareup.javapoet.CodeBlock
responseHandler
(IntermediateModel model, OperationModel opModel) Methods inherited from class java.lang.Object
equals, 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 Details
-
JsonProtocolSpec
-
-
Method Details
-
protocolFactory
- Specified by:
protocolFactory
in interfaceProtocolSpec
-
initProtocolFactory
- Specified by:
initProtocolFactory
in interfaceProtocolSpec
-
responseHandler
public com.squareup.javapoet.CodeBlock responseHandler(IntermediateModel model, OperationModel opModel) - Specified by:
responseHandler
in interfaceProtocolSpec
-
errorResponseHandler
- Specified by:
errorResponseHandler
in interfaceProtocolSpec
-
executionHandler
- Specified by:
executionHandler
in interfaceProtocolSpec
-
asyncExecutionHandler
public com.squareup.javapoet.CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, OperationModel opModel) Description copied from interface:ProtocolSpec
Execution handler invocation only differs for protocols that support streaming outputs (REST-JSON, REST-XML).- Specified by:
asyncExecutionHandler
in interfaceProtocolSpec
-
createErrorResponseHandler
- Specified by:
createErrorResponseHandler
in interfaceProtocolSpec
-