Package | Description |
---|---|
org.jooby |
Modifier and Type | Class and Description |
---|---|
class |
Jooby
jooby
|
Modifier and Type | Method and Description |
---|---|
default Routes |
Routes.err(Class<? extends Throwable> type,
Err.Handler handler)
Setup a route error handler.The error handler will be executed if the current exception is an
instance of this type.
|
Routes |
Routes.err(Err.Handler err)
Setup a route error handler.
|
default Routes |
Routes.err(int statusCode,
Err.Handler handler)
Setup a route error handler.
|
Routes |
Routes.map(Route.Mapper<?> mapper)
Apply the mapper to all the functional routes.
|
Routes |
Env.routes()
Application router.
|
Modifier and Type | Method and Description |
---|---|
Env |
Env.Builder.build(com.typesafe.config.Config config,
Routes router,
Locale locale)
Build a new environment from a
Config object. |
Copyright © 2016. All rights reserved.