org.apache.http.conn.params.ConnRoutePNames |
Known Indirect Subclasses |
This interface is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
Parameter names for routing in HttpConn.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_PROXY | Parameter for the default proxy. | |||||||||
String | FORCED_ROUTE | Parameter for an forced route. | |||||||||
String | LOCAL_ADDRESS | Parameter for the local address. |
Parameter for the default proxy.
The default value will be used by some
HttpRoutePlanner
implementations, in particular the default implementation.
This parameter expects a value of type HttpHost
.
Parameter for an forced route.
The forced route will be interpreted by the standard
HttpRoutePlanner
implementations.
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
.
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 standard
HttpRoutePlanner
implementations, in particular the default implementation.
This parameter expects a value of type InetAddress
.