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 ProxySearchStrategy
Interface for a proxy search strategy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Gets the printable name of the search strategy.java.net.ProxySelector
getProxySelector()
Gets the a ProxySelector found by applying the search strategy.
-
-
-
Method Detail
-
getProxySelector
java.net.ProxySelector getProxySelector() throws ProxyException
Gets 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
-
-