Under Play 1.4.x if I wanted to reverse generate a URL I might use something like:
Map<String, Object> map = new TreeMap();
map.put("myParam", myParam);
ActionDefinition ad = Router.reverse("MyAction.query", map);
String url = ad.url;
According to the unfailingly terse Play 2.x documentation, under Play 2 with Scala I'm supposed to use a Redirect:
val action = Action {Redirect(routes.MyAction.query(myParam))}
but what do I do with the action to acquire the actual URL?
or absolute
or absolute https