IMO
I think this:
webTarget.request().accept("application/json").get();
looks more readable than this:
webTarget.request("application/json").get();
It's more typing, but more readable.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com