vertx-lang-scala-docs_2.12 3.9.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package ext
  Definition Classes
    scala
-  package consul
  Definition Classes
    ext
- AclToken
- BlockingQueryOptions
- Check
- CheckList
- CheckOptions
- CheckQueryOptions
- ConsulClient
- ConsulClientOptions
- ConsulService
- Coordinate
- CoordinateList
- DcCoordinates
- Event
- EventList
- EventListOptions
- EventOptions
- KeyValue
- KeyValueList
- KeyValueOptions
- MaintenanceOptions
- Node
- NodeList
- NodeQueryOptions
- PreparedQueryDefinition
- PreparedQueryExecuteOptions
- PreparedQueryExecuteResponse
- Service
- ServiceEntry
- ServiceEntryList
- ServiceList
- ServiceOptions
- ServiceQueryOptions
- Session
- SessionList
- SessionOptions
- TxnError
- TxnKVOperation
- TxnRequest
- TxnResponse
- Watch
- WatchResult

c

io.vertx.scala.ext.consul

# ConsulClientOptions 

###
Companion object ConsulClientOptions

#### class ConsulClientOptions extends WebClientOptions

Options used to create Consul client.

Linear Supertypes
WebClientOptions, HttpClientOptions, ClientOptionsBase, TCPSSLOptions, NetworkOptions, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ConsulClientOptions
2. WebClientOptions
3. HttpClientOptions
4. ClientOptionsBase
5. TCPSSLOptions
6. NetworkOptions
7. AnyRef
8. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new ConsulClientOptions(_asJava: ext.consul.ConsulClientOptions)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def addCrlPath(value: String): ConsulClientOptions

   Add a CRL path

   Add a CRL path

   Definition Classes
     ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
5.  def addCrlValue(value: Buffer): ConsulClientOptions

   Add a CRL value

   Add a CRL value

   Definition Classes
     ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
6.  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 → TCPSSLOptions
7.  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 → TCPSSLOptions
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def asJava: ext.consul.ConsulClientOptions
   Definition Classes
     ConsulClientOptions → WebClientOptions → HttpClientOptions
10.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
11.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
12.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
13.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
14.  def getAclToken: String
15.  def getAlpnVersions: Buffer[HttpVersion]
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
16.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
17.  def getConnectTimeout: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
18.  def getCrlPaths: Buffer[String]
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
19.  def getCrlValues: Buffer[Buffer]
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
20.  def getDc: String
21.  def getDecoderInitialBufferSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
22.  def getDefaultHost: String
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
23.  def getDefaultPort: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
24.  def getEnabledCipherSuites: Set[String]
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
25.  def getEnabledSecureTransportProtocols: Set[String]
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
26.  def getHttp2ConnectionWindowSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
27.  def getHttp2KeepAliveTimeout: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
28.  def getHttp2MaxPoolSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
29.  def getHttp2MultiplexingLimit: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
30.  def getIdleTimeout: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
31.  def getIdleTimeoutUnit: TimeUnit
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
32.  def getInitialSettings: Http2Settings
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
33.  def getJdkSslEngineOptions: JdkSSLEngineOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
34.  def getKeepAliveTimeout: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
35.  def getKeyStoreOptions: JksOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
36.  def getLocalAddress: String
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
37.  def getLogActivity: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
38.  def getMaxChunkSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
39.  def getMaxHeaderSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
40.  def getMaxInitialLineLength: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
41.  def getMaxPoolSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
42.  def getMaxRedirects: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
43.  def getMaxWaitQueueSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
44.  def getMaxWebSocketFrameSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
45.  def getMaxWebSocketMessageSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
46.  def getMaxWebsocketFrameSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
47.  def getMaxWebsocketMessageSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
48.  def getMetricsName: String
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
49.  def getOpenSslEngineOptions: OpenSSLEngineOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
50.  def getPemKeyCertOptions: PemKeyCertOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
51.  def getPemTrustOptions: PemTrustOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
52.  def getPfxKeyCertOptions: PfxOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
53.  def getPfxTrustOptions: PfxOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
54.  def getPipeliningLimit: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
55.  def getPoolCleanerPeriod: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
56.  def getProtocolVersion: HttpVersion
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
57.  def getProxyOptions: ProxyOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
58.  def getReceiveBufferSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
59.  def getSendBufferSize: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
60.  def getSoLinger: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
61.  def getSslHandshakeTimeout: Long
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
62.  def getSslHandshakeTimeoutUnit: TimeUnit
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
63.  def getTimeout: Long
64.  def getTrafficClass: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
65.  def getTrustStoreOptions: JksOptions
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
66.  def getTryUsePerMessageWebSocketCompression: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
67.  def getTryUsePerMessageWebsocketCompression: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
68.  def getUserAgent: String
    Definition Classes
      ConsulClientOptions → WebClientOptions
69.  def getWebSocketCompressionAllowClientNoContext: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
70.  def getWebSocketCompressionLevel: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
71.  def getWebSocketCompressionRequestServerNoContext: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
72.  def getWebsocketCompressionAllowClientNoContext: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
73.  def getWebsocketCompressionLevel: Int
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
74.  def getWebsocketCompressionRequestServerNoContext: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
75.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
76.  def isFollowRedirects: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions
77.  def isForceSni: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
78.  def isHttp2ClearTextUpgrade: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
79.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
80.  def isKeepAlive: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
81.  def isPipelining: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
82.  def isReuseAddress: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
83.  def isReusePort: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
84.  def isSendUnmaskedFrames: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
85.  def isSsl: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
86.  def isTcpCork: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
87.  def isTcpFastOpen: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
88.  def isTcpKeepAlive: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
89.  def isTcpNoDelay: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
90.  def isTcpQuickAck: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
91.  def isTrustAll: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
92.  def isTryUseCompression: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
93.  def isUseAlpn: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
94.  def isUsePooledBuffers: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
95.  def isUserAgentEnabled: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions
96.  def isVerifyHost: Boolean
    Definition Classes
      ConsulClientOptions → WebClientOptions → HttpClientOptions
97.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
98.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
99.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
100.  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.

101.  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
102.  def setConnectTimeout(value: Int): ConsulClientOptions

     Set the connect timeout

     Set the connect timeout

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → ClientOptionsBase
103.  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.

104.  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
105.  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
106.  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
107.  def setEnabledSecureTransportProtocols(value: Set[String]): ConsulClientOptions
     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
108.  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
109.  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
110.  def setHttp2ClearTextUpgrade(value: Boolean): ConsulClientOptions

     Set to `true` when an h2c connection is established using an HTTP/1.1 upgrade request, and `false` 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, and `false` when an h2c connection is established directly (with prior knowledge).

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
111.  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
112.  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.

     A timeout of `0` means there is no timeout and the connection can remain indefinitely in the pool.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
113.  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
114.  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
115.  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 → TCPSSLOptions
116.  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 → TCPSSLOptions
117.  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
118.  def setJdkSslEngineOptions(value: JdkSSLEngineOptions): ConsulClientOptions
     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
119.  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
120.  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.

     A timeout of `0` means there is no timeout and the connection can remain indefinitely in the pool.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
121.  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 → TCPSSLOptions
122.  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
123.  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 → NetworkOptions
124.  def setMaxChunkSize(value: Int): ConsulClientOptions

     Set the maximum HTTP chunk size

     Set the maximum HTTP chunk size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
125.  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
126.  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
127.  def setMaxPoolSize(value: Int): ConsulClientOptions

     Set the maximum pool size for connections

     Set the maximum pool size for connections

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
128.  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
129.  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
130.  def setMaxWebSocketFrameSize(value: Int): ConsulClientOptions

     Set the max WebSocket frame size

     Set the max WebSocket frame size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
131.  def setMaxWebSocketMessageSize(value: Int): ConsulClientOptions

     Set the max WebSocket message size

     Set the max WebSocket message size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
132.  def setMaxWebsocketFrameSize(value: Int): ConsulClientOptions

     Set the max websocket frame size

     Set the max websocket frame size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
133.  def setMaxWebsocketMessageSize(value: Int): ConsulClientOptions

     Set the max websocket message size

     Set the max websocket message size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
134.  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
135.  def setOpenSslEngineOptions(value: OpenSSLEngineOptions): ConsulClientOptions
     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
136.  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 → TCPSSLOptions
137.  def setPemTrustOptions(value: PemTrustOptions): ConsulClientOptions

     Set the trust options.

     Set the trust options.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
138.  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 → TCPSSLOptions
139.  def setPfxTrustOptions(value: PfxOptions): ConsulClientOptions

     Set the trust options in pfx format

     Set the trust options in pfx format

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
140.  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
141.  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
142.  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
143.  def setProtocolVersion(value: HttpVersion): ConsulClientOptions

     Set the protocol version.

     Set the protocol version.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
144.  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
145.  def setReceiveBufferSize(value: Int): ConsulClientOptions

     Set the TCP receive buffer size

     Set the TCP receive buffer size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
146.  def setReuseAddress(value: Boolean): ConsulClientOptions

     Set the value of reuse address

     Set the value of reuse address

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
147.  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 → NetworkOptions
148.  def setSendBufferSize(value: Int): ConsulClientOptions

     Set the TCP send buffer size

     Set the TCP send buffer size

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
149.  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
150.  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 → TCPSSLOptions
151.  def setSsl(value: Boolean): ConsulClientOptions

     Set whether SSL/TLS is enabled

     Set whether SSL/TLS is enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
152.  def setSslHandshakeTimeout(value: Long): ConsulClientOptions

     Set the SSL handshake timeout, default time unit is seconds.

     Set the SSL handshake timeout, default time unit is seconds.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
153.  def setSslHandshakeTimeoutUnit(value: TimeUnit): ConsulClientOptions

     Set the SSL handshake timeout unit.

     Set the SSL handshake timeout unit. If not specified, default is seconds.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
154.  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 → TCPSSLOptions
155.  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 → TCPSSLOptions
156.  def setTcpKeepAlive(value: Boolean): ConsulClientOptions

     Set whether TCP keep alive is enabled

     Set whether TCP keep alive is enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
157.  def setTcpNoDelay(value: Boolean): ConsulClientOptions

     Set whether TCP no delay is enabled

     Set whether TCP no delay is enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
158.  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 → TCPSSLOptions
159.  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.

160.  def setTrafficClass(value: Int): ConsulClientOptions

     Set the value of traffic class

     Set the value of traffic class

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → NetworkOptions
161.  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
162.  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 → TCPSSLOptions
163.  def setTryUseCompression(value: Boolean): ConsulClientOptions

     Set whether compression is enabled

     Set whether compression is enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
164.  def setTryUsePerFrameWebSocketCompression(value: Boolean): ConsulClientOptions

     Set whether the client will offer the WebSocket per-frame deflate compression extension.

     Set whether the client will offer the WebSocket per-frame deflate compression extension.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
165.  def setTryUsePerFrameWebsocketCompression(value: Boolean): ConsulClientOptions

     Set whether the client will offer the WebSocket per-frame deflate compression extension.

     Set whether the client will offer the WebSocket per-frame deflate compression extension.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
166.  def setTryUsePerMessageWebSocketCompression(value: Boolean): ConsulClientOptions

     Set whether the client will offer the WebSocket per-message deflate compression extension.

     Set whether the client will offer the WebSocket per-message deflate compression extension.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
167.  def setTryUsePerMessageWebsocketCompression(value: Boolean): ConsulClientOptions

     Set whether the client will offer the WebSocket per-message deflate compression extension.

     Set whether the client will offer the WebSocket per-message deflate compression extension.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
168.  def setUseAlpn(value: Boolean): ConsulClientOptions

     Set the ALPN usage.

     Set the ALPN usage.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
169.  def setUsePooledBuffers(value: Boolean): ConsulClientOptions

     Set whether Netty pooled buffers are enabled

     Set whether Netty pooled buffers are enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions → TCPSSLOptions
170.  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
171.  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
172.  def setVerifyHost(value: Boolean): ConsulClientOptions

     Set whether hostname verification is enabled

     Set whether hostname verification is enabled

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
173.  def setWebSocketCompressionAllowClientNoContext(value: Boolean): ConsulClientOptions

     Set whether the `client_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Set whether the `client_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
174.  def setWebSocketCompressionLevel(value: Int): ConsulClientOptions

     Set the WebSocket deflate compression level.

     Set the WebSocket deflate compression level.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
175.  def setWebSocketCompressionRequestServerNoContext(value: Boolean): ConsulClientOptions

     Set whether the `server_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Set whether the `server_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
176.  def setWebsocketCompressionAllowClientNoContext(value: Boolean): ConsulClientOptions

     Set whether the `client_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Set whether the `client_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
177.  def setWebsocketCompressionLevel(value: Int): ConsulClientOptions

     Set the WebSocket deflate compression level.

     Set the WebSocket deflate compression level.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
178.  def setWebsocketCompressionRequestServerNoContext(value: Boolean): ConsulClientOptions

     Set whether the `server_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Set whether the `server_no_context_takeover` parameter of the WebSocket per-message deflate compression extension will be offered.

     Definition Classes
       ConsulClientOptions → WebClientOptions → HttpClientOptions
179.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
180.  def toString(): String
     Definition Classes
       AnyRef → Any
181.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
182.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
183.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @native() @throws( ... )

### Inherited from WebClientOptions

### Inherited from HttpClientOptions

### Inherited from ClientOptionsBase

### Inherited from TCPSSLOptions

### Inherited from NetworkOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped