@Deprecated
public class Routes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROUTE_ACTION_METHOD
Deprecated.
Use play.routing.Router.Tags.ROUTE_ACTION_METHOD
|
static java.lang.String |
ROUTE_CONTROLLER
Deprecated.
Use play.routing.Router.Tags.ROUTE_CONTROLLER
|
static java.lang.String |
ROUTE_PATTERN
Deprecated.
Use play.routing.Router.Tags.ROUTE_PATTERN
|
static java.lang.String |
ROUTE_VERB
Deprecated.
Use play.routing.Router.Tags.ROUTE_VERB
|
Constructor and Description |
---|
Routes()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static play.twirl.api.JavaScript |
javascriptRouter(java.lang.String name,
play.api.routing.JavaScriptReverseRoute... routes)
Deprecated.
Use play.routing.JavaScriptReverseRouter.create
|
static play.twirl.api.JavaScript |
javascriptRouter(java.lang.String name,
java.lang.String ajaxMethod,
play.api.routing.JavaScriptReverseRoute... routes)
Deprecated.
Use play.routing.JavaScriptReverseRouter.create
|
@Deprecated public static final java.lang.String ROUTE_VERB
@Deprecated public static final java.lang.String ROUTE_PATTERN
@Deprecated public static final java.lang.String ROUTE_CONTROLLER
@Deprecated public static final java.lang.String ROUTE_ACTION_METHOD
@Deprecated public static play.twirl.api.JavaScript javascriptRouter(java.lang.String name, play.api.routing.JavaScriptReverseRoute... routes)
name
- the router's nameroutes
- the reverse routes for this router@Deprecated public static play.twirl.api.JavaScript javascriptRouter(java.lang.String name, java.lang.String ajaxMethod, play.api.routing.JavaScriptReverseRoute... routes)
name
- the router's nameajaxMethod
- which asynchronous call method the user's browser will use (e.g. "jQuery.ajax")routes
- the reverse routes for this router