hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: What is replacement for ClientContextConfigurer.setAuthSchemePref ?
Date Mon, 13 Dec 2010 14:57:42 GMT
On Mon, 2010-12-13 at 11:08 +0000, sebb wrote:
> 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.
> 

Feel free to remove the comment. Or replace it ;-)

Oleg



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


Mime
View raw message