hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: [HttpCore] HttpParams interface
Date Sun, 15 Jul 2007 15:14:35 GMT
quick update...

>>>   interface HttpParams
>>>   interface ModifiableHttpParams
>>>   
>> Do you still envisage the following way of setting HTTP parameters?
>>
>> httpclient.getParams().setParameter("whatever", someObject);
> 
> Hm, no, not really. Should we encourage modifying parameters
> that are already passed to the framework in the first place?

Within core, only AbstractHttpMessage creates params internally
and requires a downcast for modification. In client, it's the
DefaultHttpClient, and only as a fallback if no parameters are
passed to the constructor or set explicitly.

cheers,
  Roland


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


Mime
View raw message