List of usage examples for android.net ProxyInfo ProxyInfo
@UnsupportedAppUsage public ProxyInfo(String host, int port, String exclList)
From source file:android.net.ProxyInfo.java
/** * Constructs a {@link ProxyInfo} object that points at a Direct proxy * on the specified host and port.// ww w .ja v a2s. c om */ public static ProxyInfo buildDirectProxy(String host, int port) { return new ProxyInfo(host, port, null); }