This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static { | |
ProxySelector.setDefault(new ProxySelector() { | |
private final ProxySelector def = ProxySelector.getDefault(); | |
@Override | |
public List<Proxy> select(final URI uri) { | |
return Arrays.asList(new Proxy(Proxy.Type.SOCKS, new InetSocketAddress("127.0.0.1", 8889))); | |
} | |
@Override |