Called before the application starts.
Called before the application starts.
Resources managed by plugins, such as database connections, are likely not available at this point.
the application
Additional configuration provided by the application.
Additional configuration provided by the application. This is invoked by the default implementation of onConfigLoad, so if you override that, this won't be invoked.
Filters for EssentialAction.
Filters for EssentialAction.
Filters.
Filters.
Manages controllers instantiation.
Manages controllers instantiation.
the controller class to instantiate.
the appropriate instance for the given controller class.
Called when an action has been found, but the request parsing has failed.
Called when an action has been found, but the request parsing has failed.
The default is to send the framework default 400 page.
the HTTP request header
the result to send to the client
Called when an exception occurred.
Called when an exception occurred.
The default is to send the framework default error page.
The HTTP request header
The exception
The result to send to the client
Called when no action was found to serve a request.
Called when no action was found to serve a request.
The default is to send the framework default 404 page.
the HTTP request header
the result to send to the client
Called just after configuration has been loaded, to give the application an opportunity to modify it.
Called just after configuration has been loaded, to give the application an opportunity to modify it.
the loaded configuration
the application path
The applications classloader
The mode the application is running in
The configuration that the application should use
Retrieve the (RequestHeader,Handler) to use to serve this request.
Retrieve the (RequestHeader,Handler) to use to serve this request. Default is: route, tag request, then apply filters
Called when an HTTP request has been received.
Called when an HTTP request has been received.
The default is to use the application router to find the appropriate action.
the HTTP request header (the body has not been parsed yet)
an action to handle this request - if no action is returned, a 404 not found result will be sent to client
onHandlerNotFound
Called once the application is started.
Called on application stop.
Default global, use this if CSRF is your only Filter