On 06.02.2013, at 23:48, Bill Burke <bburke_at_redhat.com> wrote:
> IMO
>
> I think this:
>
> webTarget.request().accept("application/json").get();
>
> looks more readable than this:
>
> webTarget.request("application/json").get();
+1
> request("application/json")
continues to feel like an obstacle in the flow of the API for me.
Jan
>
>
> It's more typing, but more readable.
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com