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.- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Gets the printable name of the search strategy.ProxySelectorgetProxySelector()Gets the a ProxySelector found by applying the search strategy.
-
-
-
Method Detail
-
getProxySelector
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
String getName()
Gets the printable name of the search strategy.- Returns:
- the printable name of the search strategy
-
-