public final class XmlProtocolSpec extends QueryProtocolSpec
intermediateModel, poetExtensions
Constructor and Description |
---|
XmlProtocolSpec(IntermediateModel model,
PoetExtensions 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, protocolFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
additionalMethods, asyncMarshaller, discoveredEndpoint, executeFutureValueType, getClientHandlerClass, getPojoResponseType, hostPrefixExpression, populateHttpStatusCode, publishMetrics, publishMetricsWhenComplete, registerModeledExceptions, streamingMarshallerCode, streamingOutputWhenComplete, syncStreamingMarshaller
public XmlProtocolSpec(IntermediateModel model, PoetExtensions poetExtensions)
protected Class<?> protocolFactoryClass()
protocolFactoryClass
in class QueryProtocolSpec
public com.squareup.javapoet.CodeBlock responseHandler(IntermediateModel model, OperationModel opModel)
responseHandler
in interface ProtocolSpec
responseHandler
in class QueryProtocolSpec
public Optional<com.squareup.javapoet.CodeBlock> errorResponseHandler(OperationModel opModel)
errorResponseHandler
in interface ProtocolSpec
errorResponseHandler
in class QueryProtocolSpec
public com.squareup.javapoet.CodeBlock executionHandler(OperationModel opModel)
executionHandler
in interface ProtocolSpec
executionHandler
in class QueryProtocolSpec
public com.squareup.javapoet.CodeBlock asyncExecutionHandler(IntermediateModel intermediateModel, OperationModel opModel)
ProtocolSpec
asyncExecutionHandler
in interface ProtocolSpec
asyncExecutionHandler
in class QueryProtocolSpec
Copyright © 2022. All rights reserved.