DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15435>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15435

New Preferences Architecture





------- Additional Comments From [EMAIL PROTECTED]  2003-09-09 03:43 -------
The attached patch contains a quick implementation of what I had in mind with regard 
to a 
HttpParamsFactory.  The main purpose is to consolidate all of the initialization of 
the HttpParams 
to a single/configurable location.  I see the benefits of this approach as the 
following:

 - Initialization of HttpParams is localized and formalized.  The method for 
specifying a new 
initialization routine is clear and easily modifiable.
 - Creation/initialization of the default HttpParams is not necessarily a one time 
occurrence.  Since 
HttpParamsFactory.getDefaultParams() is called every time the default params are 
requested, the 
defaults could be completely static, new for every call, or perhaps created on a 
per-thread basis.  
The choice is up to the implementor.  We would most likely just provide the default 
static 
initialization factory.

Overall, I think this approach buys us some nice flexibility with little overhead.  
What do you think?

Mike

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

Reply via email to