public class SoapFault extends SoapMessage
| Constructor and Description |
|---|
SoapFault() |
| Modifier and Type | Method and Description |
|---|---|
SoapFault |
addFaultDetail(String faultDetail)
Adds a new fault detail in builder pattern style.
|
SoapFault |
faultActor(String faultActor)
Sets the faultActor.
|
SoapFault |
faultCode(String faultCode)
Sets the fault code.
|
SoapFault |
faultDetails(List<String> faultDetails)
Sets the faultDetails.
|
SoapFault |
faultString(String faultString)
Sets the fault string or reason.
|
static SoapFault |
from(org.springframework.ws.soap.SoapFault fault)
Builder method from Spring WS SOAP fault object.
|
String |
getFaultActor()
Gets the faultActor.
|
String |
getFaultCode()
Gets the faultCode.
|
QName |
getFaultCodeQName()
Returns fault code as qualified name.
|
List<String> |
getFaultDetails()
Gets the faultDetails.
|
String |
getFaultString()
Gets the faultString.
|
Locale |
getLocale()
Gets the locale used in SOAP fault.
|
SoapFault |
locale(Locale locale)
Sets the locale used in SOAP fault.
|
SoapFault |
locale(String locale)
Sets the locale used in SOAP fault.
|
String |
toString() |
addAttachment, addHeaderData, getAttachments, getSoapAction, header, isMtomEnabled, mtomEnabled, setHeader, soapActioncopyHeaders, getHeader, getHeaderData, getId, getPayload, getPayload, getTimestamp, removeHeader, setPayloadpublic QName getFaultCodeQName()
public SoapFault faultString(String faultString)
faultString - public SoapFault faultActor(String faultActor)
faultActor - the faultActor to setpublic SoapFault faultDetails(List<String> faultDetails)
faultDetails - the faultDetails to setpublic SoapFault addFaultDetail(String faultDetail)
faultDetail - public SoapFault locale(Locale locale)
locale - public SoapFault locale(String locale)
locale - public String getFaultActor()
public String getFaultCode()
public String getFaultString()
public List<String> getFaultDetails()
public Locale getLocale()
public static SoapFault from(org.springframework.ws.soap.SoapFault fault)
fault - public String toString()
toString in class SoapMessageCopyright © 2008–2015 ConSol* Consulting&Solutions GmbH. All rights reserved.