public final class XmlProtocolSpec extends QueryProtocolSpec
intermediateModel, poetExtensions| Constructor and Description |
|---|
XmlProtocolSpec(IntermediateModel model,
PoetExtension poetExtensions) |
| Modifier and Type | Method and Description |
|---|---|
com.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.CodeBlock> |
errorResponseHandler(OperationModel opModel) |
com.squareup.javapoet.CodeBlock |
executionHandler(OperationModel opModel) |
protected Class<?> |
protocolFactoryClass() |
com.squareup.javapoet.CodeBlock |
responseHandler(IntermediateModel model,
OperationModel opModel) |
createErrorResponseHandler, initProtocolFactory, protocolFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadditionalMethods, asyncMarshaller, credentialType, discoveredEndpoint, executeFutureValueType, getClientHandlerClass, getPojoResponseType, hostPrefixExpression, populateHttpStatusCode, publishMetrics, publishMetricsWhenComplete, registerModeledExceptions, streamingMarshallerCode, streamingOutputWhenComplete, syncStreamingMarshallerpublic XmlProtocolSpec(IntermediateModel model, PoetExtension poetExtensions)
protected Class<?> protocolFactoryClass()
protocolFactoryClass in class QueryProtocolSpecpublic com.squareup.javapoet.CodeBlock responseHandler(IntermediateModel model, OperationModel opModel)
responseHandler in interface ProtocolSpecresponseHandler in class QueryProtocolSpecpublic Optional<com.squareup.javapoet.CodeBlock> errorResponseHandler(OperationModel opModel)
errorResponseHandler in interface ProtocolSpecerrorResponseHandler in class QueryProtocolSpecpublic com.squareup.javapoet.CodeBlock executionHandler(OperationModel opModel)
executionHandler in interface ProtocolSpecexecutionHandler in class QueryProtocolSpecpublic com.squareup.javapoet.CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, OperationModel opModel)
ProtocolSpecasyncExecutionHandler in interface ProtocolSpecasyncExecutionHandler in class QueryProtocolSpecCopyright © 2023. All rights reserved.