All Methods Instance Methods Abstract Methods
| Modifier and Type |
Method |
Description |
Routing |
after(Handler handler) |
Add an after filter for all requests.
|
Routing |
after(String path,
Handler handler) |
Add a after filter for the given path.
|
List<Routing.Entry> |
all() |
Return all the registered handlers.
|
Routing |
before(Handler handler) |
Add a before filter for all requests.
|
Routing |
before(String path,
Handler handler) |
Add a before filter for the given path.
|
Routing |
get(Handler handler) |
Add a GET handler for "/".
|
Routing |
get(Handler handler,
Set<Role> permittedRoles) |
Add a GET handler for "/" with roles.
|
Routing |
get(String path,
Handler handler) |
Add a GET handler.
|
Routing |
get(String path,
Handler handler,
Set<Role> permittedRoles) |
Add a GET handler with roles.
|
Routing |
path(String path,
Routing.Group group) |
Add a group of route handlers with a common path prefix.
|
Routing |
post(Handler handler) |
Add a POST handler for "/".
|
Routing |
post(Handler handler,
Set<Role> permittedRoles) |
Add a POST handler for "/" with roles.
|
Routing |
post(String path,
Handler handler) |
Add a POST handler with roles.
|
Routing |
post(String path,
Handler handler,
Set<Role> permittedRoles) |
Add a POST handler with roles.
|