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.
- Author:
- Markus Bernhardt, Copyright 2016, Bernd Rosstauscher, Copyright 2009
-
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 java.net.ProxySelector
getDefault, of, setDefault
-
Method Details
-
getInstance
Gets the one and only instance of this selector.- Returns:
- a DirectSelector.
-
connectFailed
connectFailed- Specified by:
connectFailedin classProxySelector- See Also:
-
select
select- Specified by:
selectin classProxySelector- See Also:
-
toString
-