core/play/src/main/java/play/routing/JavaScriptReverseRouter.java
@Deprecated
  public static JavaScript create(
      String name, String ajaxMethod, JavaScriptReverseRoute... routes) {
    return create(name, ajaxMethod, play.mvc.Http.Context.current().request().host(), routes);
  }
@Deprecated
  public static JavaScript create(
      String name, String ajaxMethod, JavaScriptReverseRoute... routes) {
    return create(name, ajaxMethod, play.mvc.Http.Context.current().request().host(), routes);
  }
@ Deprecated public static JavaScript create ( String name , String ajaxMethod , JavaScriptReverseRoute ... routes ) { return create ( name , ajaxMethod , play . mvc . Http . Context . current ( ) . request ( ) . host ( ) , routes ) ; }
Generates a JavaScript reverse router.

@param name the router's name
@param ajaxMethod which asynchronous call method the user's browser will use (e.g.
"jQuery.ajax")
@param routes the reverse routes for this router
@return the router
@deprecated Deprecated as of 2.7.0. Use {@link #create(String, String, String,
JavaScriptReverseRoute...)} instead.
Generates a JavaScript reverse router .