Shayton Equilibrium Kitchen Utensil 2003 User Manual

Page of 194
32 
 Chapter 3 
• 
• 
• 
g e t P a r a m e t e r ( )
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.
g e t P a r a m e t e r N a m e s ( )
Returns an array of the names of all parameters specified on the MRL.
Syntax
var nameArray = req.getParameterNames();
Parameters
This function takes no parameters.
g e t H e a d e r ( )  
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.