hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: What is replacement for ClientContextConfigurer.setAuthSchemePref ?
Date Mon, 13 Dec 2010 11:08:35 GMT
On 12 December 2010 18:44, Oleg Kalnichevski <olegk@apache.org> wrote:
> On Sun, 2010-12-12 at 15:09 +0000, sebb wrote:
>> ClientContextConfigurer.setAuthSchemePref is deprecated.
>> The comment says "to be replaced with a special parameter in 4.1"
>>
>
> These parameters are AuthPNames#TARGET_AUTH_PREF and
> AuthPNames#PROXY_AUTH_PREF
>
> http://hc.apache.org/httpcomponents-client-dev/httpclient/apidocs/org/apache/http/auth/params/AuthPNames.html
>
>> As trunk is heading towards 4.1, perhaps this method should now be removed?
>> Or at least the comment should say what the replacement is.
>>
>
> We can't remove it in a minor release. It's been marked as deprecated.
> That should be good enough.

But the way I read it, the comment says that the method will be
replaced in 4.1.
It will look odd if the method is still there in 4.1.

I can fix the comments accordingly, but it would be useful to know
when it was deprecated.

> cheers
>
> Oleg
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>

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


Mime
View raw message