org.apache.http.conn.params
Class ConnRouteParamBean
java.lang.Object
org.apache.http.params.HttpAbstractParamBean
org.apache.http.conn.params.ConnRouteParamBean
@NotThreadSafe
public class ConnRouteParamBean
- extends HttpAbstractParamBean
This is a Java Bean class that can be used to wrap an instance of
HttpParams
and manipulate connection routing parameters
using Java Beans conventions.
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnRouteParamBean
public ConnRouteParamBean(HttpParams params)
setDefaultProxy
public void setDefaultProxy(HttpHost defaultProxy)
- See Also:
ConnRoutePNames.DEFAULT_PROXY
setLocalAddress
public void setLocalAddress(InetAddress address)
- See Also:
ConnRoutePNames.LOCAL_ADDRESS
setForcedRoute
public void setForcedRoute(HttpRoute route)
- See Also:
ConnRoutePNames.FORCED_ROUTE
Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.