public interface Routing
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA routing entry.static interfaceA group of routing entries prefixed by a common path.static interfaceAdds to the Routing.static classThe type of route entry. -
Method Summary
Modifier and TypeMethodDescriptionadd(Routing.Service routes)Add the routes provided by the Routing Service.addAll(Collection<Routing.Service> routes)Add all the routes provided by the Routing Services.Add an after filter for all requests.Add a after filter for the given path.all()Return all the registered handlers.Add a before filter for all requests.Add a before filter for the given path.Add a GET handler for "/".Add a GET handler for "/" with roles.Add a GET handler.Add a GET handler with roles.path(String path, Routing.Group group)Add a group of route handlers with a common path prefix.Add a POST handler for "/".Add a POST handler for "/" with roles.Add a POST handler with roles.Add a POST handler with roles.
-
Method Details
-
add
Add the routes provided by the Routing Service. -
addAll
Add all the routes provided by the Routing Services. -
path
Add a group of route handlers with a common path prefix. -
get
Add a GET handler with roles. -
get
Add a GET handler. -
get
Add a GET handler for "/". -
get
Add a GET handler for "/" with roles. -
post
Add a POST handler with roles. -
post
Add a POST handler with roles. -
post
Add a POST handler for "/". -
post
Add a POST handler for "/" with roles. -
before
Add a before filter for the given path. -
before
Add a before filter for all requests. -
after
Add a after filter for the given path. -
after
Add an after filter for all requests. -
all
List<Routing.Entry> all()Return all the registered handlers.
-