Package org.apache.http.conn.params
Interface ConnRoutePNames
- All Known Subinterfaces:
AllClientPNames
- All Known Implementing Classes:
ConnRouteParams
public interface ConnRoutePNames
Parameter names for routing in HttpConn.
- Since:
- 4.0
- Version:
- $Revision: 613656 $
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PROXYParameter for the default proxy.static StringFORCED_ROUTEParameter for an forced route.static StringLOCAL_ADDRESSParameter for the local address.
-
Field Details
-
DEFAULT_PROXY
Parameter for the default proxy. The default value will be used by someHttpRoutePlannerimplementations, in particular the default implementation.This parameter expects a value of type
HttpHost.- See Also:
- Constant Field Values
-
LOCAL_ADDRESS
Parameter for the local address. On machines with multiple network interfaces, this parameter can be used to select the network interface from which the connection originates. It will be interpreted by the standardHttpRoutePlannerimplementations, in particular the default implementation.This parameter expects a value of type
InetAddress.- See Also:
- Constant Field Values
-
FORCED_ROUTE
Parameter for an forced route. The forced route will be interpreted by the standardHttpRoutePlannerimplementations. Instead of computing a route, the given forced route will be returned, even if it points to the wrong target host.This parameter expects a value of type
HttpRoute.- See Also:
- Constant Field Values
-