public static class SOAPEncoder.Builder extends Object
SOAPEncoder
.Modifier and Type | Field and Description |
---|---|
boolean |
formattedOutput |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SOAPEncoder |
build() |
SOAPEncoder.Builder |
withCharsetEncoding(Charset charsetEncoding)
Specify the charset encoding.
|
SOAPEncoder.Builder |
withFormattedOutput(boolean formattedOutput)
Output format indent if true.
|
SOAPEncoder.Builder |
withJAXBContextFactory(JAXBContextFactory jaxbContextFactory)
The
JAXBContextFactory for body part. |
SOAPEncoder.Builder |
withSOAPProtocol(String soapProtocol)
The protocol used to create message factory.
|
SOAPEncoder.Builder |
withWriteXmlDeclaration(boolean writeXmlDeclaration)
Write the xml declaration if true.
|
public SOAPEncoder.Builder withJAXBContextFactory(JAXBContextFactory jaxbContextFactory)
JAXBContextFactory
for body part.public SOAPEncoder.Builder withFormattedOutput(boolean formattedOutput)
public SOAPEncoder.Builder withWriteXmlDeclaration(boolean writeXmlDeclaration)
public SOAPEncoder.Builder withCharsetEncoding(Charset charsetEncoding)
Charset.defaultCharset()
.public SOAPEncoder.Builder withSOAPProtocol(String soapProtocol)
soapProtocol
- a string constant representing the MessageFactory protocol.SOAPConstants.SOAP_1_1_PROTOCOL
,
SOAPConstants.SOAP_1_2_PROTOCOL
,
SOAPConstants.DYNAMIC_SOAP_PROTOCOL
,
MessageFactory.newInstance(String)
public SOAPEncoder build()
Copyright © 2012–2019 OpenFeign. All rights reserved.