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