hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: svn commit: r408172 - in /jakarta/httpcomponents/httpcore/trunk/src: contrib/org/apache/http/contrib/benchmark/ java/org/apache/http/protocol/
Date Sun, 21 May 2006 15:01:50 GMT
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.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message