Class NoProxySelector
java.lang.Object
java.net.ProxySelector
com.github.markusbernhardt.proxy.selector.direct.NoProxySelector
This proxy selector will always return a "DIRECT" proxy. Implemented as
singleton.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectFailed(URI uri, SocketAddress sa, IOException ioe) connectFailedstatic NoProxySelectorGets the one and only instance of this selector.selecttoString()Methods inherited from class ProxySelector
getDefault, of, setDefault
-
Field Details
-
instance
-
-
Constructor Details
-
NoProxySelector
private NoProxySelector()Constructor
-
-
Method Details
-
getInstance
Gets the one and only instance of this selector.- Returns:
- a DirectSelector.
-
connectFailed
connectFailed- Specified by:
connectFailedin classProxySelector- See Also:
-
select
-
toString
-