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.
Called Just before the action is used.
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
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
onActionNotFound
Called once the application is started.
Called once the application is started.
the application
Called on application stop.
Called on application stop.
the application
Defines an application’s global settings.
To define your own global settings, just create a
Global
object in the_root_
package.