public class CallConfig extends Object implements Serializable
CallConfig
object could specify what HTTP
method (GET, POST, etc.) to use.
This base class only specifies the property failOverAllowed, which indicates whether fail-over is unconditionally allowed, even if the request was already received or even processed by the other end.
This class is not thread safe
ServiceCaller
,
CallRequest
,
Serialized FormConstructor and Description |
---|
CallConfig() |
Modifier and Type | Method and Description |
---|---|
String |
describe()
Describes this configuration.
|
boolean |
isFailOverAllowed()
Determines whether fail-over is unconditionally allowed.
|
void |
setFailOverAllowed(boolean allowed)
Configures whether fail-over is unconditionally allowed.
|
String |
toString()
Returns a textual presentation of this object.
|
public String describe()
The implementation of this method in class CallConfig
returns
a descriptive string that contains the failOverAllowed setting.
null
.public final String toString()
The implementation of this method in class CallRequest
returns describe()
.
public final boolean isFailOverAllowed()
true
if fail-over is unconditionally allowed, even if
the request was already received or even processed by the other end,
false
otherwise.public final void setFailOverAllowed(boolean allowed)
allowed
- true
if fail-over is unconditionally allowed, even if
the request was already received or even processed by the other end,
false
otherwise.See http://www.xins.org/.