jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Refactoring out generic invocations

From: Bill Burke <bburke_at_redhat.com>
Date: Mon, 29 Aug 2011 12:15:23 -0400

On 8/29/11 11:27 AM, Marek Potociar wrote:
> As for the spaghetti code, consider a simple get request (disregarding returned HttpResponse):
>
> ClientFactory.newClient().target(...).request("text/plain").get();
>
> In my API, following 6 interfaces are involved: ClientFactory, Client, Target, Invocation.Builder, SyncInvoker, Configurable
> In your API, following 6 interfaces are involved: ClientFactory, Client, Target, Invocation, RequestHeaders.Builder,
> Configurable

Well, it seems we've reached a dead end again. We don't agree. You're
the spec lead, you seem pretty much stuck on this path, so..., well...
I'm done arguing.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com