Add a CRL path
Add a CRL value
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled SSL/TLS protocols, appended to the ordered protocols.
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.
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:
Set the connect timeout
Add a CRL path
Add a CRL value
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.
set to initialBufferSizeHttpDecoder
the initial buffer of the HttpDecoder.
Set the default host name 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.
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled SSL/TLS protocols, appended to the ordered protocols.
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.
Set the maximum pool size for HTTP/2 connections
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.
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.
Set the idle timeout unit. If not specified, default is seconds.
Set the HTTP/2 connection settings immediately sent by to the server when the client connects.
Set the key/cert options in jks format, aka Java keystore.
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.
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
Set the maximum HTTP chunk size
Set the maximum length of all headers for HTTP/1.x .
Set the maximum length of the initial line for HTTP/1.x (e.g. "HTTP/1.1 200 OK"
)
Set the maximum pool size for connections
Set to maxRedirects
the maximum number of redirection a request can follow.
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.
Set the max websocket frame size
Set the max websocket message size
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
Set the key/cert store options in pem format.
Set the trust options.
Set the key/cert options in pfx format.
Set the trust options in pfx format
Set the limit of pending requests a pipe-lined HTTP/1 connection can send.
Set the protocol version.
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy.
Set the TCP receive buffer size
Set the TCP send buffer size
Set whether SO_linger keep alive is enabled
Set to use SSL engine implementation to use.
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.
Set the value of traffic class
Set the trust options.
Set the trust options in jks format, aka Java truststore
Sets the Web Client user agent header. Defaults to Vert.x-WebClient/<version>.
Configure the default behavior of the client to follow HTTP 30x
redirections.
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.
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 whether keep alive is enabled on the client
Set whether pipe-lining is enabled on the client
Set the value of reuse address
Set the value of reuse port.
This is only supported by native transports.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.
Set whether SSL/TLS is enabled
Enable the TCP_CORK
option - only with linux native transport.
Enable the TCP_FASTOPEN
option - only with linux native transport.
Set whether TCP keep alive is enabled
Set whether TCP no delay is enabled
Enable the TCP_QUICKACK
option - only with linux native transport.
Set whether all server certificates should be trusted
Set whether compression is enabled
Set the ALPN usage.
Sets whether the Web Client should send a user agent header. Defaults to true.
Set whether hostname verification is enabled
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.
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:
Set the connect timeout
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.
set to initialBufferSizeHttpDecoder
the initial buffer of the HttpDecoder.
Set the default host name 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.
Add an enabled SSL/TLS protocols, appended to the ordered protocols.
Configure the default behavior of the client to follow HTTP 30x
redirections.
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.
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 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.
Set the maximum pool size for HTTP/2 connections
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.
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.
Set the idle timeout unit. If not specified, default is seconds.
Set the HTTP/2 connection settings immediately sent by to the server when the client connects.
Set whether keep alive is enabled on the client
Set the key/cert options.
Set the key/cert options in jks format, aka Java keystore.
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.
Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.
Set the maximum HTTP chunk size
Set the maximum length of all headers for HTTP/1.x .
Set the maximum length of the initial line for HTTP/1.x (e.g. "HTTP/1.1 200 OK"
)
Set the maximum pool size for connections
Set to maxRedirects
the maximum number of redirection a request can follow.
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.
Set the max websocket frame size
Set the max websocket message size
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
Set the key/cert store options in pem format.
Set the trust options.
Set the key/cert options in pfx format.
Set the trust options in pfx format
Set whether pipe-lining is enabled on the client
Set the limit of pending requests a pipe-lined HTTP/1 connection can send.
Set the protocol version.
Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy.
Set the TCP receive buffer size
Set the value of reuse address
Set the value of reuse port.
This is only supported by native transports.Set the TCP send buffer size
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.
Set whether SO_linger keep alive is enabled
Set whether SSL/TLS is enabled
Set to use SSL engine implementation to use.
Enable the TCP_CORK
option - only with linux native transport.
Enable the TCP_FASTOPEN
option - only with linux native transport.
Set whether TCP keep alive is enabled
Set whether TCP no delay is enabled
Enable the TCP_QUICKACK
option - only with linux native transport.
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.
Set the value of traffic class
Set whether all server certificates should be trusted
Set the trust options.
Set the trust options in jks format, aka Java truststore
Set whether compression is enabled
Set the ALPN usage.
Sets the Web Client user agent header. Defaults to Vert.x-WebClient/<version>.
Sets whether the Web Client should send a user agent header. Defaults to true.
Set whether hostname verification is enabled
Generated using TypeDoc
Options used to create Consul client.