Android
org.apache.http.conn.params
public interface

org.apache.http.conn.params.ConnRoutePNames

org.apache.http.conn.params.ConnRoutePNames

Parameter names for routing in HttpConn.

Known Indirect Subclasses

Summary

Constants

      Value  
String  DEFAULT_PROXY  Parameter for the default proxy.  "http.route.default-proxy" 
String  FORCED_ROUTE  Parameter for an forced route.  "http.route.forced-route" 
String  LOCAL_ADDRESS  Parameter for the local address.  "http.route.local-address" 

Details

Constants

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 HttpHost.

Constant Value: "http.route.default-proxy"

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.

Constant Value: "http.route.forced-route"

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 InetAddress.

Constant Value: "http.route.local-address"
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48