Oleg,

What do you mean with 'That would be great to have a Spring 2.0 enabled
module which one could use to assemble various Http components using
Spring's DI framework.' ?

As I think there is nothing special in using http-core with spring,
there is no special needs, http-core components are simple beans and
therefore those are supported out-of-the-box ?
There are some rough corners although, for example in spring apps there
is common sense and convention to wrap parameters in properties files
which are then easily created by beans factories. For using those I had
to write PropertiesHttpParams class which is simple DefaultHttpParams
subclass which in constructor copy all properties from argument object
to itself, so I can use properties beans with spring...
Do you guys think that using just java.util.Properties is not enough for
http-xxx family ? I would prefer to use just Properties instead of
HttpParams simplifying the framework... If we cannot live without
HttpParams then at least let's extend DefaultHttpParams with constructor
which copies all params or make a subclass as I did.
What do you think ?


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

Reply via email to