hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1048912 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java
Date Tue, 14 Dec 2010 02:14:12 GMT
Author: sebb
Date: Tue Dec 14 02:14:11 2010
New Revision: 1048912

URL: http://svn.apache.org/viewvc?rev=1048912&view=rev
Log:
Javadoc - explain deprecation

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java?rev=1048912&r1=1048911&r2=1048912&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ClientContextConfigurer.java
Tue Dec 14 02:14:11 2010
@@ -35,6 +35,7 @@ import org.apache.http.auth.AuthSchemeRe
 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 imp
     }
 
     /**
-     * @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<String> list) {



Mime
View raw message