The configuration, typically a ServletConfig or FilterConfig.
The configuration, typically a ServletConfig or FilterConfig.
The default character encoding for requests and responses.
The default character encoding for requests and responses.
Handles a request and renders a response.
Handles a request and renders a response.
$ 1. If the request lacks a character encoding, defaultCharacterEncoding
is set to the request.
$ 2. Sets the response's character encoding to defaultCharacterEncoding
.
$ 3. Binds the current request
, response
, and multiParams
, and calls
executeRoutes()
.
Gets an init parameter from the config.
Gets an init parameter from the config.
the name of the key
an option containing the value of the parameter if defined, or
None
if the parameter is not set.
Initializes the kernel.
Initializes the kernel. Used to provide context that is unavailable
when the instance is constructed, for example the servlet lifecycle.
Should set the config
variable to the parameter.
the configuration.
Defines formats to be respond.
Defines formats to be respond. By default, HTML, JSON, XML are available.
formats
The routes registered in this kernel.
The routes registered in this kernel.
The servlet context in which this kernel runs.
The servlet context in which this kernel runs.
A hook to shutdown the class.
A hook to shutdown the class. Bridges the gap between servlet's destroy and filter's destroy.
Skinny Micro Context
Skinny Micro Context
Enables unstable access validation.
Enables unstable access validation.
Executes the block with the given request bound to the request
method.
Executes the block with the given request bound to the request
method.
Executes the block with the given response bound to the response
method.
Executes the block with the given response bound to the response
method.