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

[jsr339-experts] Re: FWIW

From: Bill Burke <bburke_at_redhat.com>
Date: Thu, 25 Aug 2011 08:16:15 -0400

On 8/24/11 10:23 PM, Bill Burke wrote:
> 6) Once Invocation extends HttpRequest you start to see that all the
> Builder interfaces just don't make sense at all.

yet another reason why the whole Builder class hierarchy doesn't make
sense is that there's a chance you'll want to stop in the middle of
request building and hand off the request to another application method
to be finished off. Passing around
RequestHeader.Builder<Invocation.Builder> references doesn't look very
friendly.


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