Class DesktopProxySearchStrategy
java.lang.Object
com.github.markusbernhardt.proxy.search.desktop.DesktopProxySearchStrategy
- All Implemented Interfaces:
ProxySearchStrategy
This search provider will try to find out on which desktop platform we are
running and then will initialize the default proxy search.
- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the printable name of the search strategy.Gets the default ProxySelector for the current platform.
-
Constructor Details
-
DesktopProxySearchStrategy
public DesktopProxySearchStrategy()
-
-
Method Details
-
getProxySelector
Gets the default ProxySelector for the current platform.- Specified by:
getProxySelectorin interfaceProxySearchStrategy- Returns:
- a ProxySelector, null if none is found.
- Throws:
ProxyException- on error.
-
getName
Gets the printable name of the search strategy.- Specified by:
getNamein interfaceProxySearchStrategy- Returns:
- the printable name of the search strategy
-