public interface Router
| Modifier and Type | Method and Description |
|---|---|
void |
compileRoutes()
Compile all the routes that have been registered with the router.
|
RouteBuilder |
DELETE() |
RouteBuilder |
GET() |
Route |
getRouteFor(String httpMethod,
String uri)
Get the route for the given method and URI
|
RouteBuilder |
OPTIONS() |
RouteBuilder |
POST() |
RouteBuilder |
PUT() |
Route getRouteFor(String httpMethod, String uri)
httpMethod - The methoduri - The URIvoid compileRoutes()
RouteBuilder GET()
RouteBuilder POST()
RouteBuilder PUT()
RouteBuilder DELETE()
RouteBuilder OPTIONS()
Copyright © 2013. All Rights Reserved.