List of usage examples for android.net Proxy PROXY_VALID
int PROXY_VALID
To view the source code for android.net Proxy PROXY_VALID.
Click Source Link
From source file:android.net.ProxyInfo.java
/** * @hide/* w ww. jav a 2s. com*/ */ public boolean isValid() { if (!Uri.EMPTY.equals(mPacFileUrl)) return true; return Proxy.PROXY_VALID == Proxy.validate(mHost == null ? "" : mHost, mPort == 0 ? "" : Integer.toString(mPort), mExclusionList == null ? "" : mExclusionList); }