FileDocCategorySizeDatePackage
ClientContextConfigurer.javaAPI DocAndroid 1.5 API2761Wed May 06 22:41:10 BST 2009org.apache.http.client.protocol

ClientContextConfigurer

public class ClientContextConfigurer extends Object implements ClientContext

Fields Summary
private final HttpContext
context
Constructors Summary
public ClientContextConfigurer(HttpContext context)

        if (context == null)
            throw new IllegalArgumentException("HTTP context may not be null");
        this.context = context;
    
Methods Summary
public voidsetAuthSchemePref(java.util.List list)

        this.context.setAttribute(AUTH_SCHEME_PREF, list);
    
public voidsetAuthSchemeRegistry(org.apache.http.auth.AuthSchemeRegistry registry)

        this.context.setAttribute(AUTHSCHEME_REGISTRY, registry);
    
public voidsetCookieSpecRegistry(org.apache.http.cookie.CookieSpecRegistry registry)

        this.context.setAttribute(COOKIESPEC_REGISTRY, registry);
    
public voidsetCookieStore(org.apache.http.client.CookieStore store)

        this.context.setAttribute(COOKIE_STORE, store);
    
public voidsetCredentialsProvider(org.apache.http.client.CredentialsProvider provider)

        this.context.setAttribute(CREDS_PROVIDER, provider);