Top Description Fields
org.apache.http.conn.params

public Interface ConnRoutePNames

Known Direct Subinterfaces
org.apache.http.client.params.AllClientPNames
Known Direct Implementers
org.apache.http.conn.params.ConnRouteParams
Annotations
@Deprecated

Deprecated

(4.3) use org.apache.http.client.config.RequestConfig.

Parameter names for connection routing.
Since
4.0

Field Summary

Modifier and TypeField and Description
public static final String
DEFAULT_PROXY

Parameter for the default proxy.

public static final String
FORCED_ROUTE

Parameter for an forced route.

public static final String
LOCAL_ADDRESS

Parameter for the local address.

Field Detail

DEFAULT_PROXYback to summary
public static final String DEFAULT_PROXY

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 org.apache.http.HttpHost.

FORCED_ROUTEback to summary
public static final String FORCED_ROUTE

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.

LOCAL_ADDRESSback to summary
public static final String 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 standard HttpRoutePlanner implementations, in particular the default implementation.

This parameter expects a value of type java.net.InetAddress.