Java Code Examples for java.net.Proxy#equals()
The following examples show how to use
java.net.Proxy#equals() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AEPluginProxyHandler.java From BiglyBT with GNU General Public License v2.0 | 5 votes |
private static boolean isEnabled() { Proxy system_proxy = AEProxySelectorFactory.getSelector().getActiveProxy(); if ( system_proxy == null || system_proxy.equals( Proxy.NO_PROXY )){ return( true ); }else{ return( enable_plugin_proxies_with_socks ); } }
Example 2
Source File: AEPluginProxyHandler.java From TorrentEngine with GNU General Public License v3.0 | 5 votes |
private static boolean isEnabled() { Proxy system_proxy = AEProxySelectorFactory.getSelector().getActiveProxy(); if ( system_proxy == null || system_proxy.equals( Proxy.NO_PROXY )){ return( true ); }else{ return( enable_plugin_proxies_with_socks ); } }