StaticHandler

StaticHandler

StaticHandler

Constructor

new StaticHandler()

Static File Handler
Source:

Extends

Methods

authenticateRequest(context, callback)

Occurs when a handler is going to set current user identity.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

authorizeRequest(context, callback)

Occurs when a handler has verified user authorization.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

beginRequest(context, callback)

Occurs as the first event in the HTTP execution
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

endRequest(context, callback)

Occurs as the last event in the HTTP execution
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

mapPath(p) → {*}

Parameters:
Name Type Description
p
Source:
Returns:
Type
*

mapRequest(context, callback)

Occurs when the handler is selected to respond to the request.
Parameters:
Name Type Description
context HttpContext
callback function
Overrides:
Source:

postExecuteResult(context, callback)

Occurs when application was succesfully executes an HTTP Result.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

postMapRequest(context, callback)

Occurs when application has mapped the current request to the appropriate handler.
Parameters:
Name Type Description
context HttpContext
callback function
Overrides:
Source:

preExecuteResult(context, callback)

Occurs when application starts executing an HTTP Result.
Parameters:
Name Type Description
context HttpContext
callback function
Inherited From:
Source:

processRequest(context)

Parameters:
Name Type Description
context HttpContext
Overrides:
Source:

validateRequest(context, callback)

Occurs when a handler is going to validate current HTTP request.
Parameters:
Name Type Description
context HttpContext
callback function
Overrides:
Source: