play
Class Routes
java.lang.Object
play.Routes
public class Routes
- extends java.lang.Object
Helper utilities related to `Router`.
Method Summary |
static java.lang.String |
javascriptRouter(java.lang.String name,
play.core.Router.JavascriptReverseRoute... routes)
Generates a JavaScript router. |
static java.lang.String |
javascriptRouter(java.lang.String name,
java.lang.String ajaxMethod,
play.core.Router.JavascriptReverseRoute... routes)
Generates a JavaScript router. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROUTE_VERB
public static final java.lang.String ROUTE_VERB
- See Also:
- Constant Field Values
ROUTE_PATTERN
public static final java.lang.String ROUTE_PATTERN
- See Also:
- Constant Field Values
ROUTE_CONTROLLER
public static final java.lang.String ROUTE_CONTROLLER
- See Also:
- Constant Field Values
ROUTE_ACTION_METHOD
public static final java.lang.String ROUTE_ACTION_METHOD
- See Also:
- Constant Field Values
Routes
public Routes()
javascriptRouter
public static java.lang.String javascriptRouter(java.lang.String name,
play.core.Router.JavascriptReverseRoute... routes)
- Generates a JavaScript router.
javascriptRouter
public static java.lang.String javascriptRouter(java.lang.String name,
java.lang.String ajaxMethod,
play.core.Router.JavascriptReverseRoute... routes)
- Generates a JavaScript router.