@NotThreadSafe public class ClientContextConfigurer extends Object implements ClientContext
HttpContext
instances.AUTH_CACHE, AUTH_SCHEME_PREF, AUTHSCHEME_REGISTRY, COOKIE_ORIGIN, COOKIE_SPEC, COOKIE_STORE, COOKIESPEC_REGISTRY, CREDS_PROVIDER, PROXY_AUTH_STATE, SCHEME_REGISTRY, TARGET_AUTH_STATE, USER_TOKEN
Constructor and Description |
---|
ClientContextConfigurer(org.apache.http.protocol.HttpContext context) |
Modifier and Type | Method and Description |
---|---|
void |
setAuthSchemePref(List<String> list)
Deprecated.
(4.1-alpha1) Use
HttpParams.setParameter(String, Object) to set the parameters
AuthPNames#TARGET_AUTH_PREF and
AuthPNames#PROXY_AUTH_PREF instead |
void |
setAuthSchemeRegistry(AuthSchemeRegistry registry) |
void |
setCookieSpecRegistry(CookieSpecRegistry registry) |
void |
setCookieStore(CookieStore store) |
void |
setCredentialsProvider(CredentialsProvider provider) |
public ClientContextConfigurer(org.apache.http.protocol.HttpContext context)
public void setCookieSpecRegistry(CookieSpecRegistry registry)
public void setAuthSchemeRegistry(AuthSchemeRegistry registry)
public void setCookieStore(CookieStore store)
public void setCredentialsProvider(CredentialsProvider provider)
@Deprecated public void setAuthSchemePref(List<String> list)
HttpParams.setParameter(String, Object)
to set the parameters
AuthPNames#TARGET_AUTH_PREF
and
AuthPNames#PROXY_AUTH_PREF
insteadCopyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.