FileDocCategorySizeDatePackage
ClientParamBean.javaAPI DocAndroid 1.5 API3489Wed May 06 22:41:10 BST 2009org.apache.http.client.params

ClientParamBean

public class ClientParamBean extends HttpAbstractParamBean

Fields Summary
Constructors Summary
public ClientParamBean(HttpParams params)

        super(params);
    
Methods Summary
public voidsetAllowCircularRedirects(boolean allow)

        params.setBooleanParameter(ClientPNames.ALLOW_CIRCULAR_REDIRECTS, allow);
    
public voidsetConnectionManagerFactory(org.apache.http.conn.ClientConnectionManagerFactory factory)

        params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY, factory);
    
public voidsetConnectionManagerFactoryClassName(java.lang.String factory)

        params.setParameter(ClientPNames.CONNECTION_MANAGER_FACTORY_CLASS_NAME, factory);
    
public voidsetCookiePolicy(java.lang.String policy)

        params.setParameter(ClientPNames.COOKIE_POLICY, policy);
    
public voidsetDefaultHeaders(java.util.Collection headers)

        params.setParameter(ClientPNames.DEFAULT_HEADERS, headers);
    
public voidsetDefaultHost(org.apache.http.HttpHost host)

        params.setParameter(ClientPNames.DEFAULT_HOST, host);
    
public voidsetHandleAuthentication(boolean handle)

        params.setBooleanParameter(ClientPNames.HANDLE_AUTHENTICATION, handle);
    
public voidsetHandleRedirects(boolean handle)

        params.setBooleanParameter(ClientPNames.HANDLE_REDIRECTS, handle);
    
public voidsetMaxRedirects(int maxRedirects)

        params.setIntParameter(ClientPNames.MAX_REDIRECTS, maxRedirects);
    
public voidsetRejectRelativeRedirect(boolean reject)

        params.setBooleanParameter(ClientPNames.REJECT_RELATIVE_REDIRECT, reject);
    
public voidsetVirtualHost(org.apache.http.HttpHost host)

        params.setParameter(ClientPNames.VIRTUAL_HOST, host);