Class FixedSocksSelector
java.lang.Object
java.net.ProxySelector
com.github.markusbernhardt.proxy.selector.fixed.FixedProxySelector
com.github.markusbernhardt.proxy.selector.fixed.FixedSocksSelector
This proxy selector is configured with a fixed proxy. This proxy will be
returned for all URIs passed to the select method. This implementation can be
used for SOCKS 4 and 5 proxy support.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FixedProxySelector
connectFailed, select, toStringMethods inherited from class ProxySelector
getDefault, of, setDefault
-
Constructor Details
-
FixedSocksSelector
Constructor- Parameters:
proxyHost- the host name or IP address of the proxy to use.proxyPort- the port of the proxy.
-