Uses of Class
io.vertx.ext.consul.ConsulClientOptions
Packages that use ConsulClientOptions
-
Uses of ConsulClientOptions in io.vertx.ext.consul
Methods in io.vertx.ext.consul that return ConsulClientOptionsModifier and TypeMethodDescriptionConsulClientOptions.addCrlPath(String crlPath) Add a CRL pathConsulClientOptions.addCrlValue(Buffer crlValue) Add a CRL valueConsulClientOptions.addEnabledCipherSuite(String suite) Add an enabled cipher suite, appended to the ordered suites.ConsulClientOptions.addEnabledSecureTransportProtocol(String protocol) Add an enabled SSL/TLS protocols, appended to the ordered protocols.ConsulClientOptions.removeEnabledSecureTransportProtocol(String protocol) ConsulClientOptions.setAclToken(String aclToken) Set the ACL token.ConsulClientOptions.setAlpnVersions(List<HttpVersion> alpnVersions) Set the list of protocol versions to provide to the server during the Application-Layer Protocol Negotiation.ConsulClientOptions.setConnectTimeout(int connectTimeout) Set the connect timeoutSet the datacenter name.ConsulClientOptions.setDecoderInitialBufferSize(int decoderInitialBufferSize) set toinitialBufferSizeHttpDecoderthe initial buffer of the HttpDecoder.ConsulClientOptions.setDefaultHost(String defaultHost) Set the default host name to be used by this client in requests if none is provided when making the request.ConsulClientOptions.setDefaultPort(int defaultPort) Set the default port to be used by this client in requests if none is provided when making the request.ConsulClientOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) ConsulClientOptions.setFollowRedirects(boolean followRedirects) Configure the default behavior of the client to follow HTTP30xredirections.ConsulClientOptions.setForceSni(boolean forceSni) By default, the server name is only sent for Fully Qualified Domain Name (FQDN), setting this property totrueforces the server name to be always sent.Set Consul host.ConsulClientOptions.setHttp2ClearTextUpgrade(boolean value) Set totruewhen an h2c connection is established using an HTTP/1.1 upgrade request, andfalsewhen an h2c connection is established directly (with prior knowledge).ConsulClientOptions.setHttp2ConnectionWindowSize(int http2ConnectionWindowSize) Set the default HTTP/2 connection window size.ConsulClientOptions.setHttp2KeepAliveTimeout(int keepAliveTimeout) ConsulClientOptions.setHttp2MultiplexingLimit(int limit) 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.ConsulClientOptions.setIdleTimeout(int idleTimeout) Set the idle timeout, in seconds. zero means don't timeout.ConsulClientOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) Set the idle timeout unit.ConsulClientOptions.setInitialSettings(Http2Settings settings) Set the HTTP/2 connection settings immediately sent by to the server when the client connects.ConsulClientOptions.setKeepAlive(boolean keepAlive) Set whether keep alive is enabled on the clientConsulClientOptions.setKeepAliveTimeout(int keepAliveTimeout) ConsulClientOptions.setKeyCertOptions(KeyCertOptions options) Set the key/cert options.ConsulClientOptions.setLocalAddress(String localAddress) Set the local interface to bind for network connections.ConsulClientOptions.setLogActivity(boolean logActivity) Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger.ConsulClientOptions.setMaxChunkSize(int maxChunkSize) Set the maximum HTTP chunk sizeConsulClientOptions.setMaxHeaderSize(int maxHeaderSize) Set the maximum length of all headers for HTTP/1.x .ConsulClientOptions.setMaxInitialLineLength(int maxInitialLineLength) Set the maximum length of the initial line for HTTP/1.x (e.g.ConsulClientOptions.setMaxRedirects(int maxRedirects) Set tomaxRedirectsthe maximum number of redirection a request can follow.ConsulClientOptions.setMetricsName(String metricsName) Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.ConsulClientOptions.setPipelining(boolean pipelining) Set whether pipe-lining is enabled on the clientConsulClientOptions.setPipeliningLimit(int limit) Set the limit of pending requests a pipe-lined HTTP/1 connection can send.ConsulClientOptions.setPort(int port) Set Consul HTTP API port.ConsulClientOptions.setProtocolVersion(HttpVersion protocolVersion) Set the protocol version.ConsulClientOptions.setProxyOptions(ProxyOptions proxyOptions) Set proxy options for connections via CONNECT proxy (e.g.ConsulClientOptions.setReceiveBufferSize(int receiveBufferSize) Set the TCP receive buffer sizeConsulClientOptions.setReuseAddress(boolean reuseAddress) Set the value of reuse addressConsulClientOptions.setReusePort(boolean reusePort) Set the value of reuse port.ConsulClientOptions.setSendBufferSize(int sendBufferSize) Set the TCP send buffer sizeConsulClientOptions.setSoLinger(int soLinger) Set whether SO_linger keep alive is enabledConsulClientOptions.setSsl(boolean ssl) Set whether SSL/TLS is enabledConsulClientOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) Set to use SSL engine implementation to use.ConsulClientOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) ConsulClientOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) ConsulClientOptions.setTcpCork(boolean tcpCork) Enable theTCP_CORKoption - only with linux native transport.ConsulClientOptions.setTcpFastOpen(boolean tcpFastOpen) Enable theTCP_FASTOPENoption - only with linux native transport.ConsulClientOptions.setTcpKeepAlive(boolean tcpKeepAlive) Set whether TCP keep alive is enabledConsulClientOptions.setTcpNoDelay(boolean tcpNoDelay) Set whether TCP no delay is enabledConsulClientOptions.setTcpQuickAck(boolean tcpQuickAck) Enable theTCP_QUICKACKoption - only with linux native transport.ConsulClientOptions.setTimeout(long timeoutMs) 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.ConsulClientOptions.setTrafficClass(int trafficClass) Set the value of traffic classConsulClientOptions.setTrustAll(boolean trustAll) Set whether all server certificates should be trustedConsulClientOptions.setTrustOptions(TrustOptions options) Set the trust options.ConsulClientOptions.setUseAlpn(boolean useAlpn) Set the ALPN usage.ConsulClientOptions.setUserAgent(String userAgent) Sets the Web Client user agent header.ConsulClientOptions.setUserAgentEnabled(boolean userAgentEnabled) Sets whether the Web Client should send a user agent header.ConsulClientOptions.setVerifyHost(boolean verifyHost) Set whether hostname verification is enabledMethods in io.vertx.ext.consul with parameters of type ConsulClientOptionsModifier and TypeMethodDescriptionstatic ConsulClientConsulClient.create(Vertx vertx, ConsulClientOptions options) Create a Consul client.Watch.events(String event, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the custom user events.Watch.key(String key, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a specific key in the KV store.static Watch<KeyValueList> Watch.keyPrefix(String keyPrefix, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a prefix of keys in the KV store.Watch.nodeHealthChecks(String node, CheckQueryOptions opt, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.Watch.nodes(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available nodes.static Watch<ServiceEntryList> Watch.service(String service, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the nodes providing the service.Watch.serviceHealthChecks(String service, CheckQueryOptions checkQueryOptions, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.static Watch<ServiceList> Watch.services(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available services.Constructors in io.vertx.ext.consul with parameters of type ConsulClientOptions -
Uses of ConsulClientOptions in io.vertx.reactivex.ext.consul
Methods in io.vertx.reactivex.ext.consul with parameters of type ConsulClientOptionsModifier and TypeMethodDescriptionstatic ConsulClientConsulClient.create(Vertx vertx, ConsulClientOptions options) Create a Consul client.Watch.events(String event, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the custom user events.Watch.key(String key, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a specific key in the KV store.static Watch<KeyValueList> Watch.keyPrefix(String keyPrefix, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a prefix of keys in the KV store.Watch.nodeHealthChecks(String node, CheckQueryOptions opt, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.Watch.nodes(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available nodes.static Watch<ServiceEntryList> Watch.service(String service, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the nodes providing the service.Watch.serviceHealthChecks(String service, CheckQueryOptions checkQueryOptions, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.static Watch<ServiceList> Watch.services(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available services. -
Uses of ConsulClientOptions in io.vertx.rxjava3.ext.consul
Methods in io.vertx.rxjava3.ext.consul with parameters of type ConsulClientOptionsModifier and TypeMethodDescriptionstatic ConsulClientConsulClient.create(Vertx vertx, ConsulClientOptions options) Create a Consul client.Watch.events(String event, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the custom user events.Watch.key(String key, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a specific key in the KV store.static Watch<KeyValueList> Watch.keyPrefix(String keyPrefix, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring a prefix of keys in the KV store.Watch.nodeHealthChecks(String node, CheckQueryOptions opt, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.Watch.nodes(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available nodes.static Watch<ServiceEntryList> Watch.service(String service, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the nodes providing the service.Watch.serviceHealthChecks(String service, CheckQueryOptions checkQueryOptions, Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the health checks of the nodes.static Watch<ServiceList> Watch.services(Vertx vertx, ConsulClientOptions options) CreatesWatchto monitoring the list of available services.