A SERVICE OF

logo

32 Chapter 3
getJobId()
getBatchId()
getJobTempDir()
getBatchTempDir()
getParameter()
Returns the MRL parameter specified by name, or null if no such parameter exists.
Syntax
var paramValue = req.getParameter(
<name>
);
Parameters
name - specifies the name of the MRL parameter to retrieve.
getParameterNames()
Returns an array of the names of all parameters specified on the MRL.
Syntax
var nameArray = req.getParameterNames();
Parameters
This function takes no parameters.
getHeader()
Returns the value for the given HTTP header name.
NOTE: getHeader is both a request method where the request headers are returned, and a response
method, where the response headers are returned.
Syntax
req.getHeader(
<name>
);
Parameters
name - specifies the header name.