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.
- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the printable name of the search strategy.Gets the a ProxySelector found by applying the search strategy.
-
Method Details
-
getProxySelector
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
-