play
Class Routes

java.lang.Object
  extended by play.Routes

public class Routes
extends java.lang.Object

Helper utilities related to `Router`.


Constructor Summary
Routes()
           
 
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
 

Constructor Detail

Routes

public Routes()
Method Detail

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.