public final class CallContext extends Object
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getBackpack()
Returns the backpack of this request.
|
int |
getCallID()
Returns the assigned call ID.
|
Element |
getDataElement()
Returns the data section of the request, if any.
|
String |
getParameter(String name)
Returns the value of a parameter with the specificied name.
|
public String getParameter(String name) throws IllegalArgumentException
'_'
) cannot be retrieved.name
- the name of the parameter, not null
.null
if the parameter is
not set, never an empty string (""
) because it will be
returned as being null
.IllegalArgumentException
- if name == null
.public Element getDataElement()
null
if the
function does not define a data section or if the data section sent is
empty.public int getCallID()
-1
is returned.-1
if none is
assigned.See http://www.xins.org/.