req

Object
   |
   +--req


 
Properties Summary
 String action
          Contains the name of the requested action

The name without the suffix '_action' is provided.
 Object data
          Object containing any request parameters (GET, POST, Cookies, etc) and HTTP environmental variables.
 String method
          Returns the HTTP method (in uppercase letters) of the current request.
 String password
          Returns the decrypted basic authentication password.
 String path
          Contains the path of the current request, relative to the application's mountpoint.
 Number runtime
          Returns the running time of the current request in milliseconds

Provides the amount of time that has elapsed since the start of the processing of the current request, measured in milliseconds (integer).
 String username
          Contains the decrypted basic authentication username.
 
Methods Summary
 void get(<String> name)
           An alternative method of accessing properties otherwise made available through the req.data object.
 HttpServletRequest getServletRequest()
           Provides access to the HttpServletRequest object

Returns an instance of the Java HttpServletRequest Class corresponding to the current request, which allows full access to the methods of that class.
 Boolean isGet()
           Returns true if the current request is a HTTP GET request, false otherwise.
 Boolean isPost()
           Returns true if the current request is a HTTP POST request, false otherwise.


Properties Detail

action

String action

data

Object data

method

String method

password

String password

path

String path

runtime

Number runtime

username

String username

Method Detail

get

void get(<String> name)

getServletRequest

HttpServletRequest getServletRequest()

isGet

Boolean isGet()

isPost

Boolean isPost()


Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007