Can we get a new WS.GET method?
Hi, I wrote my first Play application at the weekend, and it was consuming a URL which had a number of parameters.
Could we get:
a) some better documentation on the WS.GET(String, Object...) method (I ended up looking at the source to see how the params were meant to be formatted)
b) a method along the lines of WS.GET(String, HashMap<String, String>)?
The only implementation I can think of immediately is something like
Iterator t = params.
StringBuffer sb = new StringBuffer(10);
while (t.hasNext()) {
Map.Entry param = (Map.Entry)
sb.
if (t.hasNext()) {
}
}
which isn't very efficient, but would have been very useful on sunday ;)
Cheers.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Phil Wilson
- Solved:
- Last query:
- Last reply: