Package | Description |
---|---|
org.jooby | |
org.jooby.internal | |
org.jooby.internal.handlers | |
org.jooby.internal.mvc |
Modifier and Type | Method and Description |
---|---|
Route.Definition |
Jooby.assets(String path)
Send a static file.
|
Route.Definition |
Jooby.assets(String path,
AssetHandler handler)
Send a static file.
|
Route.Definition |
Jooby.assets(String path,
String location)
Send a static file.
|
Route.Definition |
Jooby.connect(String path,
Route.Filter filter)
Append a route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.Handler handler)
Append a route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.OneArgHandler handler)
Append route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.ZeroArgHandler handler)
Append 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 |
Route.Definition.consumes(String... consumes)
Set the media types the route can consume.
|
Route.Definition |
Jooby.delete(String path,
Route.Filter filter)
Append a route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.delete(String path,
Route.Handler handler)
Append a route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.delete(String path,
Route.OneArgHandler handler)
Append route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.delete(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP DELETE method:
|
Route.Definition |
Route.Definition.excludes(List<String> excludes)
Excludes one or more path pattern from this route, useful for filter:
|
Route.Definition |
Route.Definition.excludes(String... excludes)
Excludes one or more path pattern from this route, useful for filter:
|
Route.Definition |
Jooby.get(String path,
Route.Filter filter)
Append a filter that supports HTTP GET method:
|
Route.Definition |
Jooby.get(String path,
Route.Handler handler)
Append a route that supports HTTP GET method:
|
Route.Definition |
Jooby.get(String path,
Route.OneArgHandler handler)
Append route that supports HTTP GET method:
|
Route.Definition |
Jooby.get(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP GET method:
|
Route.Definition |
Jooby.head()
Append a new route that automatically handles HEAD request from existing GET routes.
|
Route.Definition |
Jooby.head(String path,
Route.Filter filter)
Append a route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.Handler handler)
Append a route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.OneArgHandler handler)
Append route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP HEAD method:
|
Route.Definition |
Route.Definition.name(String name)
Set the route name.
|
Route.Definition |
Jooby.options()
Append a new route that automatically handles OPTIONS requests.
|
Route.Definition |
Jooby.options(String path,
Route.Filter filter)
Append a route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.Handler handler)
Append a route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.OneArgHandler handler)
Append route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.patch(String path,
Route.Filter filter)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Jooby.patch(String path,
Route.Handler handler)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Jooby.patch(String path,
Route.OneArgHandler handler)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Jooby.patch(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Jooby.post(String path,
Route.Filter filter)
Append a route that supports HTTP POST method:
|
Route.Definition |
Jooby.post(String path,
Route.Handler handler)
Append a route that supports HTTP POST method:
|
Route.Definition |
Jooby.post(String path,
Route.OneArgHandler handler)
Append route that supports HTTP POST method:
|
Route.Definition |
Jooby.post(String path,
Route.ZeroArgHandler handler)
Append 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 |
Route.Definition.produces(String... produces) |
Route.Definition |
Jooby.put(String path,
Route.Filter filter)
Append route that supports HTTP PUT method:
|
Route.Definition |
Jooby.put(String path,
Route.Handler handler)
Append route that supports HTTP PUT method:
|
Route.Definition |
Jooby.put(String path,
Route.OneArgHandler handler)
Append route that supports HTTP PUT method:
|
Route.Definition |
Jooby.put(String path,
Route.ZeroArgHandler handler)
Append route that supports HTTP PUT method:
|
Route.Definition |
Jooby.trace()
Append a default trace implementation under the given path.
|
Route.Definition |
Jooby.trace(String path,
Route.Filter filter)
Append a route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.Handler handler)
Append a route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.OneArgHandler handler)
Append route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.ZeroArgHandler handler)
Append 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 path,
Route.OneArgHandler 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.
|
Modifier and Type | Method and Description |
---|---|
List<Route.Definition> |
Route.Group.routes() |
Constructor and Description |
---|
Collection(Route.Definition[] definitions)
Creates a new collection of route definitions.
|
Constructor and Description |
---|
AppPrinter(Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
com.typesafe.config.Config conf) |
HttpHandlerImpl(com.google.inject.Injector injector,
RequestScope requestScope,
Set<Route.Definition> routes,
Set<WebSocket.Definition> sockets,
String path,
Set<Err.Handler> err) |
Constructor and Description |
---|
HeadHandler(Set<Route.Definition> routeDefs) |
OptionsHandler(Set<Route.Definition> routeDefs) |
Modifier and Type | Method and Description |
---|---|
static List<Route.Definition> |
MvcRoutes.routes(Env env,
RouteMetadata classInfo,
String rpath,
Class<?> routeClass) |
Copyright © 2015. All rights reserved.