On Sun, 2006-05-21 at 17:01 +0200, Roland Weber wrote:
> Hi Oleg,
> 
> >>What is the advantage of an extra interface over a flag attribute
> >>as was used in HttpClient?
> > 
> > It does not pollute the interface of the base class.
> 
> But it requires two implementation classes.
> 
> > To me this is
> > certainly an advantage but I can have it either way
> 
> I also can have it either way. Let's leave it as it is
> until others share their views with us.
> 
> > GeneratedHeader is merely a marker subclass of the Header class. This
> > still does not preclude us from using request wrappers or any other
> > techniques to deal with automatically generated headers. 
> 
> Yes, but we'd have two ways to do the same thing then.
> Anyway, that's a different story.

Actually, we already have two APIs: HttpCore and HttpClient. One geared
towards efficiency and flexibility while another one geared more toward
feature richness and simplicity. Sometimes that means doing the same
things two ways

Oleg

> 
> cheers,
>   Roland
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to