Class ProxyOptions
java.lang.Object
io.opentelemetry.sdk.common.export.ProxyOptions
Configuration for proxy settings.
- Since:
- 1.36.0
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
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()
-
Field Details
-
proxySelector
-
-
Constructor Details
-
ProxyOptions
-
-
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
-