Package | Description |
---|---|
org.jooby |
do more, more easily
|
Modifier and Type | Class and Description |
---|---|
static class |
Err.DefHandler
Default err handler it does content negotation.
|
Modifier and Type | Method and Description |
---|---|
default Router |
Router.err(Class<? extends Throwable> type,
Err.Handler handler)
Setup a custom error handler.The error handler will be executed if the current exception is an
instance of given type type.
|
Router |
Router.err(Err.Handler err)
Setup a route error handler.
|
Jooby |
Jooby.err(Err.Handler err) |
default Router |
Router.err(int statusCode,
Err.Handler handler)
Setup a route error handler.
|
default Router |
Router.err(Predicate<Status> predicate,
Err.Handler handler)
Setup a route error handler.
|
default Router |
Router.err(Status code,
Err.Handler handler)
Setup a route error handler.
|
Copyright © 2018. All rights reserved.