public interface FaultAwareWebServiceConnection extends WebServiceConnection
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.Modifier and Type | Method and Description |
---|---|
boolean |
hasFault()
Indicates whether this connection received a fault.
|
void |
setFault(boolean fault)
Sets whether this connection will send a fault.
|
close, getErrorMessage, getUri, hasError, receive, send
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 errorsCopyright © 2005–2015 The Spring Web Services Framework. All rights reserved.