java.lang.Object | |
↳ | org.apache.http.conn.params.ConnRouteParams |
This class is deprecated.
Please use openConnection()
instead.
Please visit this webpage
for further details.
An adaptor for accessing route related parameters in HttpParams
.
See ConnRoutePNames
for parameter name definitions.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.http.conn.params.ConnRoutePNames
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NO_HOST | A special value indicating "no host". | ||||||||||
NO_ROUTE | A special value indicating "no route". |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains the
DEFAULT_PROXY
parameter value.
| |||||||||||
Obtains the
FORCED_ROUTE
parameter value.
| |||||||||||
Obtains the
LOCAL_ADDRESS
parameter value.
| |||||||||||
Sets the
DEFAULT_PROXY
parameter value.
| |||||||||||
Sets the
FORCED_ROUTE
parameter value.
| |||||||||||
Sets the
LOCAL_ADDRESS
parameter value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
A special value indicating "no host". This relies on a nonsense scheme name to avoid conflicts with actual hosts. Note that this is a valid host.
A special value indicating "no route".
This is a route with NO_HOST
as the target.
Obtains the DEFAULT_PROXY
parameter value.
NO_HOST
will be mapped to null
,
to allow unsetting in a hierarchy.
params | the parameters in which to look up |
---|
null
if not set
Obtains the FORCED_ROUTE
parameter value.
NO_ROUTE
will be mapped to null
,
to allow unsetting in a hierarchy.
params | the parameters in which to look up |
---|
null
if not set
Obtains the LOCAL_ADDRESS
parameter value.
There is no special value that would automatically be mapped to
null
. You can use the wildcard address (0.0.0.0 for IPv4,
:: for IPv6) to override a specific local address in a hierarchy.
params | the parameters in which to look up |
---|
null
if not set
Sets the DEFAULT_PROXY
parameter value.
params | the parameters in which to set the value |
---|---|
proxy | the value to set, may be null .
Note that NO_HOST will be mapped to
null by getDefaultProxy(HttpParams) ,
to allow for explicit unsetting in hierarchies.
|
Sets the FORCED_ROUTE
parameter value.
params | the parameters in which to set the value |
---|---|
route | the value to set, may be null .
Note that NO_ROUTE will be mapped to
null by getForcedRoute(HttpParams) ,
to allow for explicit unsetting in hierarchies.
|
Sets the LOCAL_ADDRESS
parameter value.
params | the parameters in which to set the value |
---|---|
local | the value to set, may be null
|