>
> A target and a request are clearly separate concepts. I can create a target and then submit multiple requests from it. IMO, the transition looks good even at the user level. Consider,
>
> Target target = …
> target.header(…)
right...I start warming up a bit to the fact that first a target URI is
being created, and only then, after a transition, headers and or entity
is added...
Sergey
>
> What does it mean to add a header to target? Headers really belong to requests, not targets. To semantically explain the statement above, you need to think about the transition between a target and a request, and I in general like things to be explicit.
>
> -- Santiago
>
--
Sergey Beryozkin
http://sberyozkin.blogspot.com
Talend - http://www.talend.com