Class ProxyOptions.SimpleProxySelector
- java.lang.Object
-
- java.net.ProxySelector
-
- io.opentelemetry.sdk.common.export.ProxyOptions.SimpleProxySelector
-
- Enclosing class:
- ProxyOptions
private static final class ProxyOptions.SimpleProxySelector extends java.net.ProxySelector
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.net.Proxy>
proxyList
-
Constructor Summary
Constructors Modifier Constructor Description private
SimpleProxySelector(java.net.Proxy proxy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connectFailed(java.net.URI uri, java.net.SocketAddress sa, java.io.IOException e)
java.util.List<java.net.Proxy>
select(java.net.URI uri)
java.lang.String
toString()
-
-
-
Method Detail
-
select
public java.util.List<java.net.Proxy> select(java.net.URI uri)
- Specified by:
select
in classjava.net.ProxySelector
-
connectFailed
public void connectFailed(java.net.URI uri, java.net.SocketAddress sa, java.io.IOException e)
- Specified by:
connectFailed
in classjava.net.ProxySelector
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-