Class AppController
Object
|
+--AppController
- class
AppController
This is AppController class which implements Application Controller pattern for Command management.
This includes:
- Authentication and security
- RequestContext validation and Error handling
- Locating and executing Command for specific request
Defined in AppController.js
AppController
AppController(<Config> config, <Environment> environment)
Constructs a new instance of AppController class.
Parameters:
config - The instance of Config class.
environment - The instance of Environment class.
handleRequest
Object handleRequest(<RequestContext> requestCxt)
Handles the request and returns ResponseContext instance.
Parameters:
requestCxt - The RequestContext instance.
Returns:
ResponseContext instance or undefined value.
www.troika-asp.com
Documentation generated on Sun Jun 15 17:59:32 2008