Class QueryProtocolSpec
java.lang.Object
software.amazon.awssdk.codegen.poet.client.specs.QueryProtocolSpec
-
Constructor Summary
ConstructorsConstructorDescriptionQueryProtocolSpec(IntermediateModel intermediateModel, PoetExtension poetExtensions) -
Method Summary
Modifier and TypeMethodDescriptioncom.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.MethodSpec> Optional<com.squareup.javapoet.CodeBlock> errorResponseHandler(OperationModel opModel) com.squareup.javapoet.CodeBlockexecutionHandler(OperationModel opModel) com.squareup.javapoet.MethodSpeccom.squareup.javapoet.FieldSpecprotocolFactory(IntermediateModel model) com.squareup.javapoet.CodeBlockresponseHandler(IntermediateModel model, OperationModel opModel) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
QueryProtocolSpec
-
-
Method Details
-
protocolFactory
- Specified by:
protocolFactoryin interfaceProtocolSpec
-
initProtocolFactory
- Specified by:
initProtocolFactoryin interfaceProtocolSpec
-
responseHandler
public com.squareup.javapoet.CodeBlock responseHandler(IntermediateModel model, OperationModel opModel) - Specified by:
responseHandlerin interfaceProtocolSpec
-
errorResponseHandler
- Specified by:
errorResponseHandlerin interfaceProtocolSpec
-
executionHandler
- Specified by:
executionHandlerin interfaceProtocolSpec
-
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
-
createErrorResponseHandler
- Specified by:
createErrorResponseHandlerin interfaceProtocolSpec
-