Protected
Readonly
busProtected
compiledProtected
Readonly
configProtected
Readonly
loggingProtected
Readonly
requestThe current status of the unit.
Private
appThe global application instance.
Get the universal path to the root directory of the route definitions.
Protected
appGet the global Application.
Protected
containerThis method is called to stop the unit when the application is shutting down. Here, you should do any teardown required to stop the package cleanly.
IN PARTICULAR take care to free blocking resources that could prevent the process from exiting without a kill.
Resolve a UniversalPath to a file served as an asset.
this.getAssetPath('images', '123.jpg').toRemote // => http://localhost:8000/assets/images/123.jpg
Rest
...parts: string[]Get the method with the given name from this class, bound to this class.
function
Get the method with the given name from this class, bound to this class.
function
Rest
...args: any[]Get the collection of compiled routes.
Rest
...parts: string[]Protected
makeGiven an HTTPMethod and route path, return the Route instance that matches them, if one exists.
Protected
registerExecute a callback that registers routes and recompiles the routing stack.
Register an asset directory for the given package. This creates a static server route for the package with the configured vendor prefix.
Application unit that loads the various route files from
app/http/routes
and pre-compiles the route handlers.