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