|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.soap.server.endpoint.SoapFaultDefinition
public class SoapFaultDefinition
Defines properties for a SOAP Fault. Used by the SoapFaultDefinitionEditor
and the
SoapFaultMappingExceptionResolver
.
SoapFaultDefinitionEditor
,
SoapFaultMappingExceptionResolver
Field Summary | |
---|---|
static QName |
CLIENT
Constant QName used to indicate that a Client fault must be created. |
static QName |
RECEIVER
Constant QName used to indicate that a Receiver fault must be created. |
static QName |
SENDER
Constant QName used to indicate that a Sender fault must be created. |
static QName |
SERVER
Constant QName used to indicate that a Server fault must be created. |
Constructor Summary | |
---|---|
SoapFaultDefinition()
|
Method Summary | |
---|---|
QName |
getFaultCode()
Returns the fault code. |
String |
getFaultStringOrReason()
Returns the fault string or reason text. |
Locale |
getLocale()
Gets the fault string locale. |
void |
setFaultCode(QName faultCode)
Sets the fault code. |
void |
setFaultStringOrReason(String faultStringOrReason)
Sets the fault string or reason text. |
void |
setLocale(Locale locale)
Sets the fault string locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final QName CLIENT
QName
used to indicate that a Client
fault must be created.
SoapBody.addClientOrSenderFault(String,java.util.Locale)
public static final QName RECEIVER
QName
used to indicate that a Receiver
fault must be created.
SoapBody.addServerOrReceiverFault(String,java.util.Locale)
public static final QName SENDER
QName
used to indicate that a Sender
fault must be created.
SoapBody.addServerOrReceiverFault(String,java.util.Locale)
public static final QName SERVER
QName
used to indicate that a Server
fault must be created.
SoapBody.addClientOrSenderFault(String,java.util.Locale)
Constructor Detail |
---|
public SoapFaultDefinition()
Method Detail |
---|
public QName getFaultCode()
public void setFaultCode(QName faultCode)
public String getFaultStringOrReason()
public void setFaultStringOrReason(String faultStringOrReason)
public Locale getLocale()
Locale.ENGLISH
public void setLocale(Locale locale)
Locale.ENGLISH
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |