Class ProxyOptions
java.lang.Object
io.opentelemetry.sdk.common.export.ProxyOptions
Configuration for proxy settings.
- Since:
- 1.36.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyOptions
create
(InetSocketAddress socketAddress) Create proxy options with aProxySelector
which always uses anProxy.Type.HTTP
proxy with thesocketAddress
.static ProxyOptions
create
(ProxySelector proxySelector) Create proxy options with theproxySelector
.Return theProxySelector
.toString()
-
Method Details
-
create
Create proxy options with theproxySelector
. -
create
Create proxy options with aProxySelector
which always uses anProxy.Type.HTTP
proxy with thesocketAddress
. -
getProxySelector
Return theProxySelector
. -
toString
-