|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FaultAwareWebServiceConnection
Sub-interface of WebServiceConnection
that is aware of any Fault messages received. Fault messages (such as
SoapFault
SOAP Faults) often require different processing rules. Typically, fault detection is done by
inspecting connection error codes, etc.
Method Summary | |
---|---|
boolean |
hasFault()
Indicates whether this connection received a fault. |
void |
setFault(boolean fault)
Sets whether this connection will send a fault. |
Methods inherited from interface org.springframework.ws.transport.WebServiceConnection |
---|
close, getErrorMessage, getUri, hasError, receive, send |
Method Detail |
---|
boolean hasFault() throws IOException
true
if this connection received a fault; false
otherwise.
IOException
- in case of I/O errorsvoid setFault(boolean fault) throws IOException
fault
- true
if this will send a fault; false
otherwise.
IOException
- in case of I/O errors
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |