The methods of the Request interface are listed below. For a complete list of Request interface members, see the Request Members topic.
ClearVariable |
Remove the given variable from this Request context. The variable and its value are still valid and may be reassociated with the session by passing it to the Variable property. |
ClearVariables |
Remove any variables set in this Request. |
SetNewIntegerVariable |
Overloaded. Convenience method that creates a new XSInteger, binds it to this Request and then returns the new XSInteger instance. This method is equivalent to:
request.setNewIntegerVariable (null, localname, value)
|
SetNewStringVariable |
Overloaded. Convenience method that creates a new XSString, binds it to this Request and then returns the new XSString instance. This method is equivalent to:
request.setNewStringVariable (null, localname, value)
|
SetNewVariable |
Overloaded. Convenience method that creates a new XdmVariable, binds it to this Request and then returns the new XdmVariable. This method is equivalent to:
XdmVariable temp = ValueFactory.newVariable (
ValueFactory.newXName (null, localname),
ValueFactory.newValue (type, value));
request.setVariable (temp);
return temp;
|
Request Interface | Marklogic.Xcc Namespace