|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xins.common.service.CallConfig
Configuration for a service call. Objects of this type specify certain
aspects of how a call is executed. For example, for an HTTP
service caller, a 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 Summary | |
CallConfig()
|
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CallConfig()
Method Detail |
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()
.
null
.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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |