|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Router
Method Summary | |
---|---|
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()
|
Method Detail |
---|
Route getRouteFor(String httpMethod, String uri)
httpMethod
- The methoduri
- The URI
void compileRoutes()
RouteBuilder GET()
RouteBuilder POST()
RouteBuilder PUT()
RouteBuilder DELETE()
RouteBuilder OPTIONS()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |