public class Routes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROUTE_ACTION_METHOD |
static java.lang.String |
ROUTE_CONTROLLER |
static java.lang.String |
ROUTE_PATTERN |
static java.lang.String |
ROUTE_VERB |
Constructor and Description |
---|
Routes() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String ROUTE_VERB
public static final java.lang.String ROUTE_PATTERN
public static final java.lang.String ROUTE_CONTROLLER
public static final java.lang.String ROUTE_ACTION_METHOD
public static java.lang.String javascriptRouter(java.lang.String name, play.core.Router.JavascriptReverseRoute... routes)
public static java.lang.String javascriptRouter(java.lang.String name, java.lang.String ajaxMethod, play.core.Router.JavascriptReverseRoute... routes)