Package | Description |
---|---|
org.jooby | |
org.jooby.internal | |
org.jooby.internal.mvc | |
org.jooby.internal.routes |
Modifier and Type | Method and Description |
---|---|
Route.Definition |
Jooby.assets(String path)
Serve or publish static files to browser.
|
Route.Definition |
Jooby.connect(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP CONNECT method:
|
Route.Definition |
Route.Definition.consumes(List<MediaType> consumes)
Set the media types the route can consume.
|
Route.Definition |
Route.Definition.consumes(MediaType... consumes)
Set the media types the route can consume.
|
Route.Definition |
Jooby.delete(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.delete(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.get(String path)
Serve a static file from classpath:
|
Route.Definition |
Jooby.get(String path,
Route.Filter filter)
Append a new in-line filter that supports HTTP GET method:
|
Route.Definition |
Jooby.get(String path,
Route.Handler handler)
Define an in-line route that supports HTTP GET method:
|
Route.Definition |
Jooby.head(String path)
Append a new route that automatically handles HEAD request from existing GET routes.
|
Route.Definition |
Jooby.head(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP HEAD method:
|
Route.Definition |
Route.Definition.name(String name)
Set the route name.
|
Route.Definition |
Jooby.options(String path)
Append a new route that automatically handles OPTIONS requests.
|
Route.Definition |
Jooby.options(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.post(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP POST method:
|
Route.Definition |
Jooby.post(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP POST method:
|
Route.Definition |
Route.Definition.produces(List<MediaType> produces)
Set the media types the route can produces.
|
Route.Definition |
Route.Definition.produces(MediaType... produces)
Set the media types the route can produces.
|
Route.Definition |
Jooby.put(String path,
Route.Filter filter)
Define an in-line route that supports HTTP PUT method:
|
Route.Definition |
Jooby.put(String path,
Route.Handler handler)
Define an in-line route that supports HTTP PUT method:
|
Route.Definition |
Jooby.trace(String path)
Append a default trace implementation under the given path.
|
Route.Definition |
Jooby.trace(String path,
Route.Filter filter)
Append a new in-line route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.Handler handler)
Append a new in-line route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.use(String path,
Route.Filter filter)
Append a new filter that matches any method under the given path.
|
Route.Definition |
Jooby.use(String path,
Route.Handler handler)
Append a new route handler that matches any method under the given path.
|
Route.Definition |
Jooby.use(String verb,
String path,
Route.Filter filter)
Append a new filter that matches any method under the given path.
|
Route.Definition |
Jooby.use(String verb,
String path,
Route.Handler handler)
Append a new route handler that matches any method under the given path.
|
Constructor and Description |
---|
RouteHandler(com.google.inject.Injector injector,
BodyConverterSelector selector,
Set<Request.Module> modules,
Set<Route.Definition> routes,
Charset defaultCharset,
Locale defaultLocale,
Err.Handler err) |
Modifier and Type | Method and Description |
---|---|
static List<Route.Definition> |
Routes.routes(Mode mode,
Class<?> routeClass) |
Constructor and Description |
---|
HeadFilter(Set<Route.Definition> routeDefs) |
OptionsRouter(Set<Route.Definition> routeDefs) |
Copyright © 2014. All rights reserved.