Package | Description |
---|---|
org.jooby | |
org.jooby.handlers | |
org.jooby.internal.handlers |
Modifier and Type | Interface and Description |
---|---|
static interface |
Route.MethodHandler
A handler from a MVC route, it extends
Route.Handler by adding a reference to the method
behind this route. |
Modifier and Type | Method and Description |
---|---|
Route.Group |
Route.Group.all(Route.Handler handler) |
Route.Group |
Route.Group.all(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.connect(String path,
Route.Handler handler)
Append a route that supports HTTP CONNECT method:
|
Route.Group |
Route.Group.delete(Route.Handler handler) |
Route.Group |
Route.Group.delete(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.delete(String path,
Route.Handler handler)
Append a route that supports HTTP DELETE method:
|
Route.Collection |
Jooby.delete(String path1,
String path2,
Route.Handler handler)
Append three routes that supports HTTP DELETE method on the same handler:
|
Route.Collection |
Jooby.delete(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that supports HTTP DELETE method on the same handler:
|
Route.Group |
Route.Group.get(Route.Handler handler) |
Route.Group |
Route.Group.get(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.get(String path,
Route.Handler handler)
Append a route that supports HTTP GET method:
|
Route.Collection |
Jooby.get(String path1,
String path2,
Route.Handler handler)
Append two routes that supports HTTP GET method on the same handler:
|
Route.Collection |
Jooby.get(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that supports HTTP GET method on the same handler:
|
Route.Definition |
Jooby.head(String path,
Route.Handler handler)
Append a route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.options(String path,
Route.Handler handler)
Append a route that supports HTTP OPTIONS method:
|
Route.Group |
Route.Group.patch(Route.Handler handler) |
Route.Group |
Route.Group.patch(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.patch(String path,
Route.Handler handler)
Append route that supports HTTP PATCH method:
|
Route.Collection |
Jooby.patch(String path1,
String path2,
Route.Handler handler)
Append three routes that supports HTTP PATCH method on the same handler:
|
Route.Collection |
Jooby.patch(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that supports HTTP PATCH method on the same handler:
|
Route.Group |
Route.Group.post(Route.Handler handler) |
Route.Group |
Route.Group.post(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.post(String path,
Route.Handler handler)
Append a route that supports HTTP POST method:
|
Route.Collection |
Jooby.post(String path1,
String path2,
Route.Handler handler)
Append three routes that supports HTTP POST method on the same handler:
|
Route.Collection |
Jooby.post(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that supports HTTP POST method on the same handler:
|
Route.Group |
Route.Group.put(Route.Handler handler) |
Route.Group |
Route.Group.put(String pattern,
Route.Handler handler) |
Route.Definition |
Jooby.put(String path,
Route.Handler handler)
Append route that supports HTTP PUT method:
|
Route.Collection |
Jooby.put(String path1,
String path2,
Route.Handler handler)
Append three routes that supports HTTP PUT method on the same handler:
|
Route.Collection |
Jooby.put(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that supports HTTP PUT method on the same handler:
|
Route.Definition |
Jooby.trace(String path,
Route.Handler handler)
Append a route that supports HTTP TRACE method:
|
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.Handler handler)
Append a new route handler that matches any method under the given path.
|
Constructor and Description |
---|
Definition(String verb,
String pattern,
Route.Handler handler)
Creates a new route definition.
|
Modifier and Type | Class and Description |
---|---|
class |
AssetHandler
Serve static resources, via
Jooby.assets(String) or variants. |
Modifier and Type | Class and Description |
---|---|
class |
OptionsHandler |
class |
TraceHandler |
Copyright © 2015. All rights reserved.