From 022c25070e270f3f4336ff944669e2edf6051614 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Tue, 14 Dec 2010 02:14:11 +0000 Subject: [PATCH] Javadoc - explain deprecation git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1048912 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/http/client/protocol/ClientContextConfigurer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java b/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java index cdb35f1ab..59a9f6f21 100644 --- a/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java +++ b/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java @@ -35,6 +35,7 @@ import org.apache.http.auth.AuthSchemeRegistry; import org.apache.http.client.CookieStore; import org.apache.http.client.CredentialsProvider; import org.apache.http.cookie.CookieSpecRegistry; +import org.apache.http.params.HttpParams; import org.apache.http.protocol.HttpContext; /** @@ -70,7 +71,9 @@ public class ClientContextConfigurer implements ClientContext { } /** - * @deprecated to be replaced with a special parameter in 4.1 + * @deprecated (4.1-alpha1) Use {@link HttpParams#setParameter(String, Object)} to set the parameters + * {@link org.apache.http.auth.params.AuthPNames#TARGET_AUTH_PREF AuthPNames#TARGET_AUTH_PREF} and + * {@link org.apache.http.auth.params.AuthPNames#PROXY_AUTH_PREF AuthPNames#PROXY_AUTH_PREF} instead */ @Deprecated public void setAuthSchemePref(final List list) {