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.
author: Arjen Poutsma since: 1.0.0
Method Summary
boolean
hasFault() Indicates whether this connection received a fault.
void
setFault(boolean fault) Sets whether this connection will send a fault.
Indicates whether this connection received a fault.
Typically implemented by looking at an HTTP status code.
true if this connection received a fault; false otherwise. throws: IOException - in case of I/O errors
Sets whether this connection will send a fault.
Typically implemented by setting an HTTP status code.
Parameters: fault - true if this will send a fault; false otherwise. throws: IOException - in case of I/O errors