Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.handlers |
Modifier and Type | Interface and Description |
---|---|
static interface |
Route.MethodHandler
A handler for a MVC route, it extends
Route.Handler by adding a reference to the method
and class behind this route. |
Modifier and Type | Class and Description |
---|---|
class |
RequestLogger
request logger
|
Modifier and Type | Method and Description |
---|---|
Route.Definition |
Router.connect(String path,
Route.Handler handler)
Append a route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.Handler handler) |
default Route.Definition |
Router.delete(Route.Handler handler)
Append a route that supports HTTP DELETE method:
|
Route.Definition |
Router.delete(String path,
Route.Handler handler)
Append a route that supports HTTP DELETE method:
|
Route.Definition |
Jooby.delete(String path,
Route.Handler handler) |
Route.Collection |
Router.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,
Route.Handler handler) |
Route.Collection |
Router.delete(String path1,
String path2,
String path3,
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) |
default Route.Definition |
Router.get(Route.Handler handler)
Append a route that matches the HTTP GET method:
|
Route.Definition |
Router.get(String path,
Route.Handler handler)
Append a route that matches the HTTP GET method:
|
Route.Definition |
Jooby.get(String path,
Route.Handler handler) |
Route.Collection |
Router.get(String path1,
String path2,
Route.Handler handler)
Append two routes that matches the HTTP GET method on the same handler:
|
Route.Collection |
Jooby.get(String path1,
String path2,
Route.Handler handler) |
Route.Collection |
Router.get(String path1,
String path2,
String path3,
Route.Handler handler)
Append three routes that matches the HTTP GET method on the same handler:
|
Route.Collection |
Jooby.get(String path1,
String path2,
String path3,
Route.Handler handler) |
Route.Definition |
Router.head(String path,
Route.Handler handler)
Append a route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.Handler handler) |
Route.Definition |
Router.options(String path,
Route.Handler handler)
Append a route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.Handler handler) |
default Route.Definition |
Router.patch(Route.Handler handler)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Router.patch(String path,
Route.Handler handler)
Append route that supports HTTP PATCH method:
|
Route.Definition |
Jooby.patch(String path,
Route.Handler handler) |
Route.Collection |
Router.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,
Route.Handler handler) |
Route.Collection |
Router.patch(String path1,
String path2,
String path3,
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) |
default Route.Definition |
Router.post(Route.Handler handler)
Append a route that supports HTTP POST method:
|
Route.Definition |
Router.post(String path,
Route.Handler handler)
Append a route that supports HTTP POST method:
|
Route.Definition |
Jooby.post(String path,
Route.Handler handler) |
Route.Collection |
Router.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,
Route.Handler handler) |
Route.Collection |
Router.post(String path1,
String path2,
String path3,
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) |
default Route.Definition |
Router.put(Route.Handler handler)
Append route that supports HTTP PUT method:
|
Route.Definition |
Router.put(String path,
Route.Handler handler)
Append route that supports HTTP PUT method:
|
Route.Definition |
Jooby.put(String path,
Route.Handler handler) |
Route.Collection |
Router.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,
Route.Handler handler) |
Route.Collection |
Router.put(String path1,
String path2,
String path3,
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) |
Route.Definition |
Router.trace(String path,
Route.Handler handler)
Append a route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.Handler handler) |
Route.Definition |
Router.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.Handler handler) |
Route.Definition |
Router.use(String method,
String path,
Route.Handler handler)
Append a new route handler that matches the given method and path.
|
Route.Definition |
Jooby.use(String verb,
String path,
Route.Handler handler) |
Constructor and Description |
---|
Definition(String verb,
String pattern,
Route.Handler handler)
Creates a new route definition.
|
Definition(String verb,
String pattern,
Route.Handler handler,
boolean caseSensitiveRouting)
Creates a new route definition.
|
Modifier and Type | Class and Description |
---|---|
class |
AssetHandler
Serve static resources, via
Router.assets(String) or variants. |
class |
SSIHandler
server side include
|
Copyright © 2019. All rights reserved.