This class handles the requests made to your application. It searchs for a controller amongs its mappings.

Once a mapping matches a request, the dispatcher instanciates the Controller associated to it. Once the controller in instanciated, the request is dispatched to the controller.

Constructor

new (serverConfiguration:ServerConfiguration)

Parameters:

serverConfiguration

The server's configuration

Methods

dispatch (requestInfo:RequestInfo):Void