Methods
authenticateRequest(context, callback)
Occurs when a handler is going to set current user identity.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
authorizeRequest(context, callback)
Occurs when a handler has verified user authorization.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
beginRequest(context, callback)
Occurs as the first event in the HTTP execution
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
endRequest(context, callback)
Occurs as the last event in the HTTP execution
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
mapRequest(context, callback)
Occurs when the handler is selected to respond to the request.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
postExecuteResult(context, callback)
Occurs when application was succesfully executes an HTTP Result.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
postMapRequest(context, callback)
Occurs when application has mapped the current request to the appropriate handler.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
preExecuteResult(context, callback)
Occurs when application starts executing an HTTP Result.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
processRequest(context, callback)
Occurs when application starts processing current HTTP request.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |
validateRequest(context, callback)
Occurs when a handler is going to validate current HTTP request.
Parameters:
Name | Type | Description |
---|---|---|
context |
HttpContext | |
callback |
function |