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 play.twirl.api.JavaScript |
javascriptRouter(java.lang.String name,
play.api.routing.JavaScriptReverseRoute... routes)
Generates a JavaScript router.
|
static play.twirl.api.JavaScript |
javascriptRouter(java.lang.String name,
java.lang.String ajaxMethod,
play.api.routing.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 play.twirl.api.JavaScript javascriptRouter(java.lang.String name, play.api.routing.JavaScriptReverseRoute... routes)
public static play.twirl.api.JavaScript javascriptRouter(java.lang.String name, java.lang.String ajaxMethod, play.api.routing.JavaScriptReverseRoute... routes)