ServerRouter 

The server-side implementation of the Router interface.

Kind: global class


new ServerRouter(pageManager, factory, dispatcher, request, response) 

Initializes the router.

Param Type Description
pageManager PageManager The current page manager.
factory RouteFactory The router factory used to create routes.
dispatcher Dispatcher Dispatcher fires events to app.
request Request The current HTTP request.
response Response The current HTTP response.

serverRouter._request : Request 

The current HTTP request.

Kind: instance property of ServerRouter


serverRouter._response : Response 

The current HTTP response.

Kind: instance property of ServerRouter


serverRouter.getPath() 

Kind: instance method of ServerRouter


serverRouter.listen() 

Kind: instance method of ServerRouter


serverRouter.redirect() 

Kind: instance method of ServerRouter