public abstract class CallRequest extends Object implements Serializable
ServiceCaller call. Specific
service callers typically only accept a single type of request, derived
from this class.
This class is not thread-safe.
Implementations of this class should stick to the following rules:
describe() method must be implemented;
CallConfig).
ServiceCaller,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
CallRequest()
Constructs a new
CallRequest. |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
describe()
Describes this request.
|
protected CallConfig |
getCallConfig()
Retrieves the associated call configuration, if any.
|
protected void |
setCallConfig(CallConfig config)
Sets the call configuration associated with this request.
|
String |
toString()
Returns a textual presentation of this object.
|
protected CallRequest()
CallRequest. This constructor is only
available to subclasses, since this class is abstract.public abstract String describe()
"LDAP request #1592"
and "request #12903".null,
should never be empty and should never start or end with whitespace
characters.public String toString()
The implementation of this method in class CallRequest
returns describe().
protected final CallConfig getCallConfig()
null if none is.protected final void setCallConfig(CallConfig config)
config - the call configuration to associate with this request, or
null if none should be.See http://www.xins.org/.