class ConsulClientOptions extends WebClientOptions
Options used to create Consul client.
- Alphabetic
- By Inheritance
- ConsulClientOptions
- WebClientOptions
- HttpClientOptions
- ClientOptionsBase
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConsulClientOptions(_asJava: ext.consul.ConsulClientOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addCrlPath(value: String): ConsulClientOptions
Add a CRL path
Add a CRL path
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addCrlValue(value: Buffer): ConsulClientOptions
Add a CRL value
Add a CRL value
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledCipherSuite(value: String): ConsulClientOptions
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled cipher suite, appended to the ordered suites.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
addEnabledSecureTransportProtocol(value: String): ConsulClientOptions
Add an enabled SSL/TLS protocols, appended to the ordered protocols.
Add an enabled SSL/TLS protocols, appended to the ordered protocols.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asJava: ext.consul.ConsulClientOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAclToken: String
-
def
getAlpnVersions: Buffer[HttpVersion]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getConnectTimeout: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
getCrlPaths: Buffer[String]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getCrlValues: Buffer[Buffer]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
- def getDc: String
-
def
getDecoderInitialBufferSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getDefaultHost: String
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getDefaultPort: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getEnabledCipherSuites: Set[String]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getEnabledSecureTransportProtocols: Set[String]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getHttp2ConnectionWindowSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getHttp2KeepAliveTimeout: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getHttp2MaxPoolSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getHttp2MultiplexingLimit: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getIdleTimeout: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getIdleTimeoutUnit: TimeUnit
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getInitialSettings: Http2Settings
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getJdkSslEngineOptions: JdkSSLEngineOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getKeepAliveTimeout: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getKeyStoreOptions: JksOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getLocalAddress: String
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
getLogActivity: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getMaxChunkSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxHeaderSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxInitialLineLength: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxPoolSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxRedirects: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxWaitQueueSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxWebsocketFrameSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMaxWebsocketMessageSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getMetricsName: String
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
getOpenSslEngineOptions: OpenSSLEngineOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPemKeyCertOptions: PemKeyCertOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPemTrustOptions: PemTrustOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxKeyCertOptions: PfxOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPfxTrustOptions: PfxOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getPipeliningLimit: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getPoolCleanerPeriod: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getProtocolVersion: HttpVersion
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getProxyOptions: ProxyOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
getReceiveBufferSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getSendBufferSize: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getSoLinger: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
- def getTimeout: Long
-
def
getTrafficClass: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
getTrustStoreOptions: JksOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
getUserAgent: String
- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
getWebsocketCompressionAllowClientNoContext: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getWebsocketCompressionLevel: Int
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
getWebsocketCompressionRequestServerNoContext: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isFollowRedirects: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
isForceSni: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
isHttp2ClearTextUpgrade: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isKeepAlive: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
isPipelining: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
isReuseAddress: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isReusePort: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
isSendUnmaskedFrames: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
isSsl: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpCork: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpFastOpen: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpKeepAlive: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpNoDelay: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTcpQuickAck: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isTrustAll: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
isTryUseCompression: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
isUseAlpn: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isUsePooledBuffers: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
isUserAgentEnabled: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
isVerifyHost: Boolean
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setAclToken(value: String): ConsulClientOptions
Set the ACL token.
Set the ACL token. When provided, the client will use this token when making requests to the Consul by providing the "?token" query parameter. When not provided, the empty token, which maps to the 'anonymous' ACL policy, is used.
-
def
setAlpnVersions(value: Buffer[HttpVersion]): ConsulClientOptions
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.
Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation. When the list is empty, the client provides a best effort list according to ConsulClientOptions:
- : [ "h2", "http/1.1" ]
- otherwise: [HttpClientOptions]
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setConnectTimeout(value: Int): ConsulClientOptions
Set the connect timeout
Set the connect timeout
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
setDc(value: String): ConsulClientOptions
Set the datacenter name.
Set the datacenter name. When provided, the client will use it when making requests to the Consul by providing the "?dc" query parameter. When not provided, the datacenter of the consul agent is queried.
-
def
setDecoderInitialBufferSize(value: Int): ConsulClientOptions
set to
initialBufferSizeHttpDecoder
the initial buffer of the HttpDecoder.set to
initialBufferSizeHttpDecoder
the initial buffer of the HttpDecoder.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setDefaultHost(value: String): ConsulClientOptions
Set the default host name to be used by this client in requests if none is provided when making the request.
Set the default host name to be used by this client in requests if none is provided when making the request.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setDefaultPort(value: Int): ConsulClientOptions
Set the default port to be used by this client in requests if none is provided when making the request.
Set the default port to be used by this client in requests if none is provided when making the request.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setEnabledSecureTransportProtocols(value: Set[String]): ConsulClientOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setFollowRedirects(value: Boolean): ConsulClientOptions
Configure the default behavior of the client to follow HTTP
30x
redirections.Configure the default behavior of the client to follow HTTP
30x
redirections.- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
setForceSni(value: Boolean): ConsulClientOptions
By default, the server name is only sent for Fully Qualified Domain Name (FQDN), setting this property to
true
forces the server name to be always sent.By default, the server name is only sent for Fully Qualified Domain Name (FQDN), setting this property to
true
forces the server name to be always sent.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setHttp2ClearTextUpgrade(value: Boolean): ConsulClientOptions
Set to
true
when an h2c connection is established using an HTTP/1.1 upgrade request, andfalse
when an h2c connection is established directly (with prior knowledge).Set to
true
when an h2c connection is established using an HTTP/1.1 upgrade request, andfalse
when an h2c connection is established directly (with prior knowledge).- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setHttp2ConnectionWindowSize(value: Int): ConsulClientOptions
Set the default HTTP/2 connection window size.
Set the default HTTP/2 connection window size. It overrides the initial window size set by , so the connection window size is greater than for its streams, in order the data throughput.
A value of
-1
reuses the initial window size setting.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setHttp2KeepAliveTimeout(value: Int): ConsulClientOptions
Set the keep alive timeout for HTTP/2 connections, in seconds.
Set the keep alive timeout for HTTP/2 connections, in seconds.
This value determines how long a connection remains unused in the pool before being evicted and closed.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setHttp2MaxPoolSize(value: Int): ConsulClientOptions
Set the maximum pool size for HTTP/2 connections
Set the maximum pool size for HTTP/2 connections
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setHttp2MultiplexingLimit(value: Int): ConsulClientOptions
Set a client limit of the number concurrent streams for each HTTP/2 connection, this limits the number of streams the client can create for a connection.
Set a client limit of the number concurrent streams for each HTTP/2 connection, this limits the number of streams the client can create for a connection. The effective number of streams for a connection is the min of this value and the server's initial settings.
Setting the value to
-1
means to use the value sent by the server's initial settings.-1
is the default value.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setIdleTimeout(value: Int): ConsulClientOptions
Set the idle timeout, in seconds.
Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setIdleTimeoutUnit(value: TimeUnit): ConsulClientOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setInitialSettings(value: Http2Settings): ConsulClientOptions
Set the HTTP/2 connection settings immediately sent by to the server when the client connects.
Set the HTTP/2 connection settings immediately sent by to the server when the client connects.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setJdkSslEngineOptions(value: JdkSSLEngineOptions): ConsulClientOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setKeepAlive(value: Boolean): ConsulClientOptions
Set whether keep alive is enabled on the client
Set whether keep alive is enabled on the client
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setKeepAliveTimeout(value: Int): ConsulClientOptions
Set the keep alive timeout for HTTP/1.x, in seconds.
Set the keep alive timeout for HTTP/1.x, in seconds.
This value determines how long a connection remains unused in the pool before being evicted and closed.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setKeyStoreOptions(value: JksOptions): ConsulClientOptions
Set the key/cert options in jks format, aka Java keystore.
Set the key/cert options in jks format, aka Java keystore.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setLocalAddress(value: String): ConsulClientOptions
Set the local interface to bind for network connections.
Set the local interface to bind for network connections. When the local address is null, it will pick any local address, the default local address is null.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
setLogActivity(value: Boolean): ConsulClientOptions
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setMaxChunkSize(value: Int): ConsulClientOptions
Set the maximum HTTP chunk size
Set the maximum HTTP chunk size
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxHeaderSize(value: Int): ConsulClientOptions
Set the maximum length of all headers for HTTP/1.x .
Set the maximum length of all headers for HTTP/1.x .
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxInitialLineLength(value: Int): ConsulClientOptions
Set the maximum length of the initial line for HTTP/1.x (e.g.
Set the maximum length of the initial line for HTTP/1.x (e.g.
"HTTP/1.1 200 OK"
)- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxPoolSize(value: Int): ConsulClientOptions
Set the maximum pool size for connections
Set the maximum pool size for connections
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxRedirects(value: Int): ConsulClientOptions
Set to
maxRedirects
the maximum number of redirection a request can follow.Set to
maxRedirects
the maximum number of redirection a request can follow.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxWaitQueueSize(value: Int): ConsulClientOptions
Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in a ConnectionPoolTooBusyException.
Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in a ConnectionPoolTooBusyException. If the value is set to a negative number then the queue will be unbounded.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxWebsocketFrameSize(value: Int): ConsulClientOptions
Set the max websocket frame size
Set the max websocket frame size
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMaxWebsocketMessageSize(value: Int): ConsulClientOptions
Set the max websocket message size
Set the max websocket message size
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setMetricsName(value: String): ConsulClientOptions
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
setOpenSslEngineOptions(value: OpenSSLEngineOptions): ConsulClientOptions
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPemKeyCertOptions(value: PemKeyCertOptions): ConsulClientOptions
Set the key/cert store options in pem format.
Set the key/cert store options in pem format.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPemTrustOptions(value: PemTrustOptions): ConsulClientOptions
Set the trust options.
Set the trust options.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxKeyCertOptions(value: PfxOptions): ConsulClientOptions
Set the key/cert options in pfx format.
Set the key/cert options in pfx format.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPfxTrustOptions(value: PfxOptions): ConsulClientOptions
Set the trust options in pfx format
Set the trust options in pfx format
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setPipelining(value: Boolean): ConsulClientOptions
Set whether pipe-lining is enabled on the client
Set whether pipe-lining is enabled on the client
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setPipeliningLimit(value: Int): ConsulClientOptions
Set the limit of pending requests a pipe-lined HTTP/1 connection can send.
Set the limit of pending requests a pipe-lined HTTP/1 connection can send.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setPoolCleanerPeriod(value: Int): ConsulClientOptions
Set the connection pool cleaner period in milli seconds, a non positive value disables expiration checks and connections will remain in the pool until they are closed.
Set the connection pool cleaner period in milli seconds, a non positive value disables expiration checks and connections will remain in the pool until they are closed.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setProtocolVersion(value: HttpVersion): ConsulClientOptions
Set the protocol version.
Set the protocol version.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setProxyOptions(value: ProxyOptions): ConsulClientOptions
Set proxy options for connections via CONNECT proxy (e.g.
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
setReceiveBufferSize(value: Int): ConsulClientOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReuseAddress(value: Boolean): ConsulClientOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setReusePort(value: Boolean): ConsulClientOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSendBufferSize(value: Int): ConsulClientOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setSendUnmaskedFrames(value: Boolean): ConsulClientOptions
Set true when the client wants to skip frame masking.
Set true when the client wants to skip frame masking. You may want to set it true on server by server websocket communication: In this case you are by passing RFC6455 protocol. It's false as default.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setSoLinger(value: Int): ConsulClientOptions
Set whether SO_linger keep alive is enabled
Set whether SO_linger keep alive is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setSsl(value: Boolean): ConsulClientOptions
Set whether SSL/TLS is enabled
Set whether SSL/TLS is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpCork(value: Boolean): ConsulClientOptions
Enable the
TCP_CORK
option - only with linux native transport.Enable the
TCP_CORK
option - only with linux native transport.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpFastOpen(value: Boolean): ConsulClientOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport.Enable the
TCP_FASTOPEN
option - only with linux native transport.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpKeepAlive(value: Boolean): ConsulClientOptions
Set whether TCP keep alive is enabled
Set whether TCP keep alive is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpNoDelay(value: Boolean): ConsulClientOptions
Set whether TCP no delay is enabled
Set whether TCP no delay is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTcpQuickAck(value: Boolean): ConsulClientOptions
Enable the
TCP_QUICKACK
option - only with linux native transport.Enable the
TCP_QUICKACK
option - only with linux native transport.- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTimeout(value: Long): ConsulClientOptions
Sets the amount of time (in milliseconds) after which if the request does not return any data within the timeout period an failure will be passed to the handler and the request will be closed.
-
def
setTrafficClass(value: Int): ConsulClientOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
-
def
setTrustAll(value: Boolean): ConsulClientOptions
Set whether all server certificates should be trusted
Set whether all server certificates should be trusted
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
-
def
setTrustStoreOptions(value: JksOptions): ConsulClientOptions
Set the trust options in jks format, aka Java truststore
Set the trust options in jks format, aka Java truststore
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setTryUseCompression(value: Boolean): ConsulClientOptions
Set whether compression is enabled
Set whether compression is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setTryUsePerFrameWebsocketCompression(value: Boolean): ConsulClientOptions
Set option to offer per frame WebSocket compression.
Set option to offer per frame WebSocket compression.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setTryUsePerMessageWebsocketCompression(value: Boolean): ConsulClientOptions
Set option to offer per message WebSocket compression.
Set option to offer per message WebSocket compression.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setUseAlpn(value: Boolean): ConsulClientOptions
Set the ALPN usage.
Set the ALPN usage.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUsePooledBuffers(value: Boolean): ConsulClientOptions
Set whether Netty pooled buffers are enabled
Set whether Netty pooled buffers are enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase → TCPSSLOptions
-
def
setUserAgent(value: String): ConsulClientOptions
Sets the Web Client user agent header.
Sets the Web Client user agent header. Defaults to Vert.x-WebClient/<version>.
- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
setUserAgentEnabled(value: Boolean): ConsulClientOptions
Sets whether the Web Client should send a user agent header.
Sets whether the Web Client should send a user agent header. Defaults to true.
- Definition Classes
- ConsulClientOptions → WebClientOptions
-
def
setVerifyHost(value: Boolean): ConsulClientOptions
Set whether hostname verification is enabled
Set whether hostname verification is enabled
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setWebsocketCompressionAllowClientNoContext(value: Boolean): ConsulClientOptions
Set the WebSocket compression allow client no context option.
Set the WebSocket compression allow client no context option.
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setWebsocketCompressionLevel(value: Int): ConsulClientOptions
Set WebSocket compression level
Set WebSocket compression level
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
def
setWebsocketCompressionRequestServerNoContext(value: Boolean): ConsulClientOptions
Set the WebSocket compression server no context option
Set the WebSocket compression server no context option
- Definition Classes
- ConsulClientOptions → WebClientOptions → HttpClientOptions
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )