FileDocCategorySizeDatePackage
ConnRouteParamBean.javaAPI DocAndroid 1.5 API2554Wed May 06 22:41:10 BST 2009org.apache.http.conn.params

ConnRouteParamBean

public class ConnRouteParamBean extends HttpAbstractParamBean
Allows for setting parameters relating to connection routes on {@link HttpParams}. This class ensures that the values set on the params are type-safe.

Fields Summary
Constructors Summary
public ConnRouteParamBean(HttpParams params)

        super(params);
    
Methods Summary
public voidsetDefaultProxy(org.apache.http.HttpHost defaultProxy)

see
ConnRoutePNames#DEFAULT_PROXY

        params.setParameter(ConnRoutePNames.DEFAULT_PROXY, defaultProxy);
    
public voidsetForcedRoute(org.apache.http.conn.routing.HttpRoute route)

see
ConnRoutePNames#FORCED_ROUTE

        params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
    
public voidsetLocalAddress(java.net.InetAddress address)

see
ConnRoutePNames#LOCAL_ADDRESS

        params.setParameter(ConnRoutePNames.LOCAL_ADDRESS, address);