Package com.github.markusbernhardt.proxy
Interface ProxySearchStrategy
-
- All Known Implementing Classes:
CommonWindowsSearchStrategy,DesktopProxySearchStrategy,EnvProxySearchStrategy,FirefoxProxySearchStrategy,GnomeDConfProxySearchStrategy,GnomeProxySearchStrategy,IEProxySearchStrategy,JavaProxySearchStrategy,KdeProxySearchStrategy,OsxProxySearchStrategy,ProxySearch,WinProxySearchStrategy,WpadProxySearchStrategy,WpadProxySearchStrategyWithDHPC
public interface ProxySearchStrategyInterface for a proxy search strategy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Gets the printable name of the search strategy.java.net.ProxySelectorgetProxySelector()Gets the a ProxySelector found by applying the search strategy.
-
-
-
Method Detail
-
getProxySelector
java.net.ProxySelector getProxySelector() throws ProxyExceptionGets the a ProxySelector found by applying the search strategy.- Returns:
- a ProxySelector, null if none is found.
- Throws:
ProxyException- on error
-
getName
java.lang.String getName()
Gets the printable name of the search strategy.- Returns:
- the printable name of the search strategy
-
-