Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
code template for WS HTTP call (PlayFramework2) [Eclipse > Editor > Template]
return async(play.libs.WS
.url(${var:url})
.get()
.map(new play.libs.F.Function<play.libs.WS.Response, play.mvc.Result>() {
public play.mvc.Result apply(play.libs.WS.Response response) {
return TODO;
}
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.