public class SOAPErrorDecoder extends Object implements ErrorDecoder
SOAPFault if present into a SOAPFaultException. So you need to
catch SOAPFaultException to retrieve the reason of the SOAPFault.
If no faults is returned then the default ErrorDecoder is used to return exception and
eventually retry the call.
ErrorDecoder.Default, ErrorDecoder.RetryAfterDecoder| Constructor and Description |
|---|
SOAPErrorDecoder() |
SOAPErrorDecoder(String soapProtocol)
SOAPErrorDecoder constructor allowing you to specify the SOAP protocol.
|
public SOAPErrorDecoder()
public SOAPErrorDecoder(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 Exception decode(String methodKey, Response response)
decode in interface ErrorDecoderCopyright © 2012–2019 OpenFeign. All rights reserved.