Javadoc - explain deprecation

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1048912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-12-14 02:14:11 +00:00
parent ef1e4d0890
commit 022c25070e
1 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import org.apache.http.auth.AuthSchemeRegistry;
import org.apache.http.client.CookieStore; import org.apache.http.client.CookieStore;
import org.apache.http.client.CredentialsProvider; import org.apache.http.client.CredentialsProvider;
import org.apache.http.cookie.CookieSpecRegistry; import org.apache.http.cookie.CookieSpecRegistry;
import org.apache.http.params.HttpParams;
import org.apache.http.protocol.HttpContext; 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 @Deprecated
public void setAuthSchemePref(final List<String> list) { public void setAuthSchemePref(final List<String> list) {