Class WinProxySearchStrategy
- java.lang.Object
-
- com.github.markusbernhardt.proxy.search.desktop.win.CommonWindowsSearchStrategy
-
- com.github.markusbernhardt.proxy.search.desktop.win.WinProxySearchStrategy
-
- All Implemented Interfaces:
ProxySearchStrategy
public class WinProxySearchStrategy extends CommonWindowsSearchStrategy
Extracts the proxy settings from the windows registry. This will read the windows system proxy settings.- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
-
Constructor Summary
Constructors Constructor Description WinProxySearchStrategy()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the printable name of the search strategy.ProxySelectorgetProxySelector()getProxySelectorWinProxyConfigreadWindowsProxyConfig()-
Methods inherited from class com.github.markusbernhardt.proxy.search.desktop.win.CommonWindowsSearchStrategy
buildProtocolDispatchSelector, parseProxyList, setByPassListOnSelector
-
-
-
-
Method Detail
-
getProxySelector
public ProxySelector getProxySelector() throws ProxyException
getProxySelector- Returns:
- a ProxySelector, null if none is found.
- Throws:
ProxyException- on error- See Also:
ProxySearchStrategy.getProxySelector()
-
getName
public String getName()
Gets the printable name of the search strategy.- Returns:
- the printable name of the search strategy
-
readWindowsProxyConfig
public WinProxyConfig readWindowsProxyConfig()
-
-