Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.internal |
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.
|
Constructor and Description |
---|
HttpHandlerImpl(com.google.inject.Injector injector,
RequestScope requestScope,
Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
String path,
ParserExecutor parserExecutor,
Set<Renderer> renderers,
Set<Err.Handler> err,
StatusCodeProvider sc,
Charset charset,
List<Locale> locale) |
Copyright © 2017. All rights reserved.