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

[jsr339-experts] Re: FWIW

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 25 Aug 2011 13:17:55 +0100

Hi Bill

On 25/08/11 13:16, Bill Burke wrote:
>
>
> 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.
>

Just pass Target arounds

Cheers, Sergey

>


-- 
Sergey Beryozkin
http://sberyozkin.blogspot.com
Talend - http://www.talend.com