Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
Modifier and Type | Class and Description |
---|---|
class |
AssetHandler
Handler for static resources represented by the
Asset contract. |
Modifier and Type | Field and Description |
---|---|
static Route.Handler |
Route.FAVICON
Favicon handler as a silent 404 error.
|
static Route.Handler |
Route.METHOD_NOT_ALLOWED
Handler for
StatusCode.METHOD_NOT_ALLOWED responses. |
static Route.Handler |
Route.NOT_FOUND
Handler for
StatusCode.NOT_FOUND responses. |
Modifier and Type | Method and Description |
---|---|
Route.Handler |
WebVariables.apply(Route.Handler next) |
Route.Handler |
AccessLogHandler.apply(Route.Handler next) |
Route.Handler |
HeadHandler.apply(Route.Handler next) |
Route.Handler |
Route.Decorator.apply(Route.Handler next)
Chain the decorator within next handler.
|
Route.Handler |
CorsHandler.apply(Route.Handler next) |
Route.Handler |
TraceHandler.apply(Route.Handler next) |
Route.Handler |
ResponseHandler.create(Route.Handler next)
Creates a handler for a response type.
|
Route.Handler |
Route.getHandler()
Route handler.
|
Route.Handler |
Route.getPipeline()
Route pipeline.
|
default Route.Handler |
Route.Handler.then(Route.After next)
Chain this after decorator with next and produces a new decorator.
|
default Route.Handler |
Route.Decorator.then(Route.Handler next)
Chain this decorator with a handler and produces a new handler.
|
default Route.Handler |
Route.Before.then(Route.Handler next)
Chain this decorator with a handler and produces a new handler.
|
Modifier and Type | Method and Description |
---|---|
Route.Handler |
WebVariables.apply(Route.Handler next) |
Route.Handler |
AccessLogHandler.apply(Route.Handler next) |
Route.Handler |
HeadHandler.apply(Route.Handler next) |
Route.Handler |
Route.Decorator.apply(Route.Handler next)
Chain the decorator within next handler.
|
Route.Handler |
CorsHandler.apply(Route.Handler next) |
Route.Handler |
TraceHandler.apply(Route.Handler next) |
Route.Handler |
ResponseHandler.create(Route.Handler next)
Creates a handler for a response type.
|
default Route |
Router.delete(String pattern,
Route.Handler handler)
Add a HTTP DELETE handler.
|
Context |
ForwardingContext.detach(Route.Handler next) |
Context |
Context.detach(Route.Handler next)
Tells context that response will be generated form a different thread.
|
default Route |
Router.get(String pattern,
Route.Handler handler)
Add a HTTP GET handler.
|
default Route |
Router.head(String pattern,
Route.Handler handler)
Add a HTTP HEAD handler.
|
default Route |
Router.options(String pattern,
Route.Handler handler)
Add a HTTP OPTIONS handler.
|
default Route |
Router.patch(String pattern,
Route.Handler handler)
Add a HTTP PATCH handler.
|
default Route |
Router.post(String pattern,
Route.Handler handler)
Add a HTTP POST handler.
|
default Route |
Router.put(String pattern,
Route.Handler handler)
Add a HTTP PUT handler.
|
Route |
Router.route(String method,
String pattern,
Route.Handler handler)
Add a route.
|
Route |
Jooby.route(String method,
String pattern,
Route.Handler handler) |
Route |
Route.setPipeline(Route.Handler pipeline)
Set route pipeline.
|
default Route.Handler |
Route.Decorator.then(Route.Handler next)
Chain this decorator with a handler and produces a new handler.
|
default Route.Handler |
Route.Before.then(Route.Handler next)
Chain this decorator with a handler and produces a new handler.
|
default Route |
Router.trace(String pattern,
Route.Handler handler)
Add a HTTP TRACE handler.
|
Constructor and Description |
---|
Route(String method,
String pattern,
Route.Handler handler)
Creates a new route.
|
Modifier and Type | Class and Description |
---|---|
class |
HeadResponseHandler |
Modifier and Type | Method and Description |
---|---|
Route.Handler |
GracefulShutdownHandler.apply(Route.Handler next) |
static Route.Handler |
Pipeline.compute(ClassLoader loader,
Route route,
ExecutionMode mode,
Executor executor,
ContextInitializer initializer,
List<ResponseHandler> responseHandler) |
Route.Handler |
HeadResponseHandler.next() |
Modifier and Type | Method and Description |
---|---|
Route.Handler |
GracefulShutdownHandler.apply(Route.Handler next) |
Route |
RouterImpl.route(String method,
String pattern,
Route.Handler handler) |
Constructor and Description |
---|
HeadResponseHandler(Route.Handler next) |
Copyright © 2020. All rights reserved.