Here are the examples of the java api play.libs.Scala.toSeq() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
18
Source : Routes.java
with MIT License
from vangav
with MIT License
from vangav
/**
* Generates a JavaScript router.
*/
public static String javascriptRouter(String name, String ajaxMethod, play.core.Router.JavascriptReverseRoute... routes) {
return play.api.Routes.javascriptRouter(name, Scala.Option(ajaxMethod), play.mvc.Http.Context.current().request().host(), Scala.toSeq(routes));
}