Package feign.soap
Class SOAPDecoder.Builder
- java.lang.Object
-
- feign.soap.SOAPDecoder.Builder
-
- Enclosing class:
- SOAPDecoder
public static class SOAPDecoder.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SOAPDecoderbuild()SOAPDecoder.BuilderuseFirstChild()Alters the behavior of the code to use theNode.getFirstChild()in place ofSOAPBody.extractContentAsDocument().SOAPDecoder.BuilderwithJAXBContextFactory(feign.jaxb.JAXBContextFactory jaxbContextFactory)SOAPDecoder.BuilderwithSOAPProtocol(String soapProtocol)The protocol used to create message factory.
-
-
-
Method Detail
-
withJAXBContextFactory
public SOAPDecoder.Builder withJAXBContextFactory(feign.jaxb.JAXBContextFactory jaxbContextFactory)
-
withSOAPProtocol
public SOAPDecoder.Builder withSOAPProtocol(String soapProtocol)
The protocol used to create message factory. Default is "SOAP 1.1 Protocol".- Parameters:
soapProtocol- a string constant representing the MessageFactory protocol.- See Also:
SOAPConstants.SOAP_1_1_PROTOCOL,SOAPConstants.SOAP_1_2_PROTOCOL,SOAPConstants.DYNAMIC_SOAP_PROTOCOL,MessageFactory.newInstance(String)
-
useFirstChild
public SOAPDecoder.Builder useFirstChild()
Alters the behavior of the code to use theNode.getFirstChild()in place ofSOAPBody.extractContentAsDocument().- Returns:
- the builder instance.
-
build
public SOAPDecoder build()
-
-