Add an after route decorator to the route pipeline.
Set an application attribute.
Add a before route decorator to the route pipeline.
Add a custom string value converter.
Register a decoder for the given content type.
Dispatch route pipeline to the
getWorker()
worker thread pool.
Dispatch route pipeline to the given executor.
Enabled routes for specific domain.
Register a route response encoder.
Register a route response encoder.
Add a custom error handler.
Add a custom error handler that matches the given status code.
Add a custom error handler that matches the given exception type.
Add a custom error handler that matches the given predicate.
Map an exception type to a status code.
Put an executor into the application registry.
Get the HTTP router (usually this represents an instance of
Jooby
.
Import all routes from the given router.
Import all routes from the given router and prefix them with the given path.
Import routes from given router.
Import all route method from the given controller class.
Router.mvc(Class<T> router,
jakarta.inject.Provider<T> provider)
Import all route method from the given controller class.
Import all route methods from given controller instance.
Add a response handler factory.
If enabled, allows to retrieve the
Context
object associated with the current request
via the service registry while the request is being processed.
Set application context path.
Provides a way to set the current user from a
Context
.
Set the default worker thread pool.
Sets a cookie used as a template to generate the flash cookie, allowing to customize the cookie
name and other cookie parameters.
Provides a way to override the current HTTP method.
Provides a way to override the current HTTP method using lookup strategy.
Sets the supported locales.
Sets the supported locales.
When true handles X-Forwarded-* headers by updating the values on the current context to match
what was sent in the header(s).
Set a worker thread pool.
Attach a filter to the route pipeline.
use(Route.Filter)
.