| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private int | |
| private int | |
| private String | |
| private int | |
| private int | |
| private int | |
| private int | |
| private String | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | WebSocketClientOptions(JsonObject
the JSON json)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Constructor to create an options from JSON |
| Modifier and Type | Method and Description |
|---|---|
| public WebSocketClientOptions | addCrlPath(String
the path crlPath)Overrides io. Add a CRL path |
| public WebSocketClientOptions | addCrlValue(Buffer
the value crlValue)Overrides io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Add a CRL value |
| public WebSocketClientOptions | addEnabledCipherSuite(String
the suite suite)Overrides io. Add an enabled cipher suite, appended to the ordered suites. |
| public WebSocketClientOptions | addEnabledSecureTransportProtocol(String
the SSL/TLS protocol to enable protocol)Overrides io. Add an enabled SSL/TLS protocols, appended to the ordered protocols. |
| public WebSocketClientOptions | addNonProxyHost(String
the added host host)Overrides io. Add a |
| public int | Returns: the amount of time (in seconds) a client WebSocket will wait until it closes TCP connection after receiving a close frame
|
| public boolean | Returns: true when the client_no_context_takeover parameter for the WebSocket per-message
deflate compression extension will be offered
|
| public int | |
| public boolean | Returns: true when the server_no_context_takeover parameter for the WebSocket per-message
deflate compression extension will be offered
|
| public String | Returns: the default host nameGet the default host name to be used by this client in requests if none is provided when making the request. |
| public int | Returns: the default portGet the default port to be used by this client in requests if none is provided when making the request. |
| public int | |
| public int | |
| public int | Returns: the max WebSocket message sizeGet the maximum WebSocket message size to use |
| public String | |
| public boolean | Returns: true when the WebSocket per-frame deflate compression extension will be offered
|
| public boolean | Returns: true when the WebSocket per-message deflate compression extension will be offered
|
| private void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public WebSocketClientOptions | removeEnabledCipherSuite(String
the suite suite)Overrides io. Removes an enabled cipher suite from the ordered suites. |
| public WebSocketClientOptions | setActivityLogDataFormat(ByteBufFormat
the format to use activityLogDataFormat)Overrides io. Set the value of Netty's logging handler's data format: Netty's pipeline is configured for logging on Netty's logger. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlythe timeout is seconds closingTimeout)Set the amount of time a client WebSocket will wait until it closes the TCP connection after receiving a close frame. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue to offer the client_no_context_takeover parameterSet whether the |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlythe WebSocket deflate compression level compressionLevel)Set the WebSocket deflate compression level. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue to offer the server_no_context_takeover parameterSet whether the |
| public WebSocketClientOptions | setConnectTimeout(int
connect timeout, in ms connectTimeout)Overrides io. Set the connect timeout |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlySet the default host name to be used by this client in requests if none is provided when making the request. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlySet the default port to be used by this client in requests if none is provided when making the request. |
| public WebSocketClientOptions | setEnabledSecureTransportProtocols(Set<String>
the SSL/TLS protocols to enable enabledSecureTransportProtocols)Overrides io. Sets the list of enabled SSL/TLS protocols. |
| public WebSocketClientOptions | setIdleTimeout(int
the timeout idleTimeout)Overrides io. Set the idle timeout, default time unit is seconds. |
| public WebSocketClientOptions | setIdleTimeoutUnit(TimeUnit
specify time unit. idleTimeoutUnit)Overrides io. Set the idle timeout unit. |
| public WebSocketClientOptions | setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions)
Overrides io.
Deprecated
|
| public WebSocketClientOptions | setKeyCertOptions(KeyCertOptions
the key store options options)Overrides io. Set the key/cert options. |
| public WebSocketClientOptions | setKeyStoreOptions(JksOptions
the key store in jks format options)Overrides io.
Deprecated
Set the key/cert options in jks format, aka Java keystore. |
| public WebSocketClientOptions | setLocalAddress(String
the local address localAddress)Overrides io. Set the local interface to bind for network connections. |
| public WebSocketClientOptions | setLogActivity(boolean
true for logging the network activity logEnabled)Overrides io. Set to true to enabled network activity logging: Netty's pipeline is configured for logging on Netty's logger. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlythe max value maxConnections)Set the max number of WebSockets per endpoint. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlythe max frame size, in bytes maxFrameSize)Set the max WebSocket frame size |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlythe max message size, in bytes maxMessageSize)Set the max WebSocket message size |
| public WebSocketClientOptions | setMetricsName(String
the metrics name metricsName)Overrides io. Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name. |
| public WebSocketClientOptions | |
| public WebSocketClientOptions | setNonProxyHosts(List<String>
the list of non proxies hosts nonProxyHosts)Overrides io. Set a list of remote hosts that are not proxied when the client is configured to use a proxy. |
| public WebSocketClientOptions | setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions)
Overrides io.
Deprecated
|
| public WebSocketClientOptions | setPemKeyCertOptions(PemKeyCertOptions
the options in pem format options)Overrides io.
Deprecated
Set the key/cert store options in pem format. |
| public WebSocketClientOptions | setPemTrustOptions(PemTrustOptions
the trust options in pem format options)Overrides io.
Deprecated
Set the trust options in pem format |
| public WebSocketClientOptions | setPfxKeyCertOptions(PfxOptions
the key cert options in pfx format options)Overrides io.
Deprecated
Set the key/cert options in pfx format. |
| public WebSocketClientOptions | setPfxTrustOptions(PfxOptions
the trust options in pfx format options)Overrides io.
Deprecated
Set the trust options in pfx format |
| public WebSocketClientOptions | setProxyOptions(ProxyOptions
proxy options object proxyOptions)Overrides io. Set proxy options for connections via CONNECT proxy (e.g. Squid) or a SOCKS proxy. |
| public WebSocketClientOptions | setReadIdleTimeout(int
the read timeout idleTimeout)Overrides io. Set the read idle timeout, default time unit is seconds. |
| public WebSocketClientOptions | setReceiveBufferSize(int
the buffers size, in bytes receiveBufferSize)Overrides io. Set the TCP receive buffer size |
| public WebSocketClientOptions | setReuseAddress(boolean
the value of reuse address reuseAddress)Overrides io. Set the value of reuse address |
| public WebSocketClientOptions | setReusePort(boolean
the value of reuse port reusePort)Overrides io. Set the value of reuse port. |
| public WebSocketClientOptions | setSendBufferSize(int
the buffers size, in bytes sendBufferSize)Overrides io. Set the TCP send buffer size |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue if enabled sendUnmaskedFrames)Set |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue to use a shared clientSet to |
| public WebSocketClientOptions | setSoLinger(int
true if SO_linger is enabled soLinger)Overrides io. Set whether SO_linger keep alive is enabled |
| public WebSocketClientOptions | setSsl(boolean
true if enabled ssl)Overrides io. Set whether SSL/TLS is enabled |
| public WebSocketClientOptions | setSslEngineOptions(SSLEngineOptions
the ssl engine to use sslEngineOptions)Overrides io. Set to use SSL engine implementation to use. |
| public WebSocketClientOptions | setSslHandshakeTimeout(long
the SSL handshake timeout to set, in milliseconds sslHandshakeTimeout)Overrides io. Set the SSL handshake timeout, default time unit is seconds. |
| public WebSocketClientOptions | setSslHandshakeTimeoutUnit(TimeUnit
specify time unit. sslHandshakeTimeoutUnit)Overrides io. Set the SSL handshake timeout unit. |
| public WebSocketClientOptions | setTcpCork(boolean
the cork value tcpCork)Overrides io. Enable the |
| public WebSocketClientOptions | setTcpFastOpen(boolean
the fast open value tcpFastOpen)Overrides io. Enable the |
| public WebSocketClientOptions | setTcpKeepAlive(boolean
true if TCP keep alive is enabled tcpKeepAlive)Overrides io. Set whether TCP keep alive is enabled |
| public WebSocketClientOptions | setTcpNoDelay(boolean
true if TCP no delay is enabled (Nagle disabled) tcpNoDelay)Overrides io. Set whether TCP no delay is enabled |
| public WebSocketClientOptions | setTcpQuickAck(boolean
the quick ack value tcpQuickAck)Overrides io. Enable the |
| public WebSocketClientOptions | setTcpUserTimeout(int
the tcp user timeout value tcpUserTimeout)Overrides io. Sets the |
| public WebSocketClientOptions | setTrafficClass(int
the value of traffic class trafficClass)Overrides io. Set the value of traffic class |
| public WebSocketClientOptions | setTrustAll(boolean
true if all should be trusted trustAll)Overrides io. Set whether all server certificates should be trusted |
| public WebSocketClientOptions | setTrustOptions(TrustOptions
the trust options options)Overrides io. Set the trust options. |
| public WebSocketClientOptions | setTrustStoreOptions(JksOptions
the trust options in jks format options)Overrides io.
Deprecated
Set the trust options in jks format, aka Java truststore |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue to offer the per-frame deflate compression extensionSet whether the client will offer the WebSocket per-frame deflate compression extension. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue to offer the per-message deflate compression extensionSet whether the client will offer the WebSocket per-message deflate compression extension. |
| public WebSocketClientOptions | setUseAlpn(boolean
true when Application-Layer Protocol Negotiation should be used useAlpn)Overrides io. Set the ALPN usage. |
| public WebSocketClientOptions | Returns: a reference to this, so the API can be used fluentlytrue if enabledSet whether hostname verification is enabled |
| public WebSocketClientOptions | setWriteIdleTimeout(int
the write timeout idleTimeout)Overrides io. Set the write idle timeout, default time unit is seconds. |
| public JsonObject | Returns: the JSONOverrides io.
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Convert to JSON |