hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o.kalnichev...@dplanet.ch
Subject Re: FW: [PATCH] PreEmptive authentication setting
Date Fri, 17 Jan 2003 15:02:21 GMT
Odi,
I also tend to disagree with your idea of making HttpMethod aware of its HttpClient. That
would make these two classes tightly coupled which is generally a bad idea. Clearly HttpMethod
derived classes need to know a whole set of parameters that affect their mode of execution.
I would rather see HttpClient pass onto its HttpMethods an instance of a configuration class
(similar in a way to HostConfiguration class) that define various aspects HttpMethod's behavior.

Laura,
Good point. I just want to suggest we rethink the overall design of the HttpClient once we
get release 2.0 out of the door, rather than attempt to patch various shortcomings of the
existing design

Cheers

Oleg

Mime
View raw message