Routing |
Routing.after(Handler handler) |
Add an after filter for all requests.
|
Routing |
Routing.after(String path,
Handler handler) |
Add a after filter for the given path.
|
Routing |
Routing.before(Handler handler) |
Add a before filter for all requests.
|
Routing |
Routing.before(String path,
Handler handler) |
Add a before filter for the given path.
|
ErrorHandling |
ErrorHandling.error(int statusCode,
Handler handler) |
Adds an error mapper to the instance.
|
ErrorHandling |
ErrorHandling.error(int statusCode,
String contentType,
Handler handler) |
Adds an error mapper for the specified content-type to the instance.
|
Routing |
Routing.get(Handler handler) |
Add a GET handler for "/".
|
Routing |
Routing.get(Handler handler,
Set<Role> permittedRoles) |
Add a GET handler for "/" with roles.
|
Routing |
Routing.get(String path,
Handler handler) |
Add a GET handler.
|
Routing |
Routing.get(String path,
Handler handler,
Set<Role> permittedRoles) |
Add a GET handler with roles.
|
void |
AccessManager.manage(Handler handler,
Context ctx,
Set<Role> permittedRoles) |
|
Routing |
Routing.post(Handler handler) |
Add a POST handler for "/".
|
Routing |
Routing.post(Handler handler,
Set<Role> permittedRoles) |
Add a POST handler for "/" with roles.
|
Routing |
Routing.post(String path,
Handler handler) |
Add a POST handler with roles.
|
Routing |
Routing.post(String path,
Handler handler,
Set<Role> permittedRoles) |
Add a POST handler with roles.
|