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.
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 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 on application stop.
The default global settings if not defined in the application.