Package feign.soap

Class SOAPDecoder.Builder

  • Enclosing class:
    SOAPDecoder

    public static class SOAPDecoder.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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 the Node.getFirstChild() in place of SOAPBody.extractContentAsDocument().
        Returns:
        the builder instance.