abstract class ClientOptionsBase extends TCPSSLOptions
Base class for Client options
- Alphabetic
- By Inheritance
- ClientOptionsBase
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ClientOptionsBase(_asJava: core.net.ClientOptionsBase)
Abstract Value Members
-
abstract
def
addCrlPath(value: String): TCPSSLOptions
Add a CRL path
Add a CRL path
- Definition Classes
- TCPSSLOptions
-
abstract
def
addCrlValue(value: Buffer): TCPSSLOptions
Add a CRL value
Add a CRL value
- Definition Classes
- TCPSSLOptions
-
abstract
def
addEnabledCipherSuite(value: String): TCPSSLOptions
Add an enabled cipher suite, appended to the ordered suites.
Add an enabled cipher suite, appended to the ordered suites.
- Definition Classes
- TCPSSLOptions
-
abstract
def
addEnabledSecureTransportProtocol(value: String): TCPSSLOptions
Sets the list of enabled SSL/TLS protocols.
Sets the list of enabled SSL/TLS protocols.
- Definition Classes
- TCPSSLOptions
- abstract def getConnectTimeout: Int
-
abstract
def
getCrlPaths: Buffer[String]
- Definition Classes
- TCPSSLOptions
-
abstract
def
getCrlValues: Buffer[Buffer]
- Definition Classes
- TCPSSLOptions
-
abstract
def
getEnabledCipherSuites: Set[String]
- Definition Classes
- TCPSSLOptions
-
abstract
def
getEnabledSecureTransportProtocols: Set[String]
- Definition Classes
- TCPSSLOptions
-
abstract
def
getIdleTimeout: Int
- Definition Classes
- TCPSSLOptions
-
abstract
def
getIdleTimeoutUnit: TimeUnit
- Definition Classes
- TCPSSLOptions
-
abstract
def
getJdkSslEngineOptions: JdkSSLEngineOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
getKeyStoreOptions: JksOptions
- Definition Classes
- TCPSSLOptions
- abstract def getLocalAddress: String
-
abstract
def
getLogActivity: Boolean
- Definition Classes
- NetworkOptions
- abstract def getMetricsName: String
-
abstract
def
getOpenSslEngineOptions: OpenSSLEngineOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
getPemKeyCertOptions: PemKeyCertOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
getPemTrustOptions: PemTrustOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
getPfxKeyCertOptions: PfxOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
getPfxTrustOptions: PfxOptions
- Definition Classes
- TCPSSLOptions
- abstract def getProxyOptions: ProxyOptions
-
abstract
def
getReceiveBufferSize: Int
- Definition Classes
- NetworkOptions
-
abstract
def
getSendBufferSize: Int
- Definition Classes
- NetworkOptions
-
abstract
def
getSoLinger: Int
- Definition Classes
- TCPSSLOptions
-
abstract
def
getSslHandshakeTimeout: Long
- Definition Classes
- TCPSSLOptions
-
abstract
def
getSslHandshakeTimeoutUnit: TimeUnit
- Definition Classes
- TCPSSLOptions
-
abstract
def
getTrafficClass: Int
- Definition Classes
- NetworkOptions
-
abstract
def
getTrustStoreOptions: JksOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
isReuseAddress: Boolean
- Definition Classes
- NetworkOptions
-
abstract
def
isReusePort: Boolean
- Definition Classes
- NetworkOptions
-
abstract
def
isSsl: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isTcpCork: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isTcpFastOpen: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isTcpKeepAlive: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isTcpNoDelay: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isTcpQuickAck: Boolean
- Definition Classes
- TCPSSLOptions
- abstract def isTrustAll: Boolean
-
abstract
def
isUseAlpn: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
isUsePooledBuffers: Boolean
- Definition Classes
- TCPSSLOptions
-
abstract
def
setConnectTimeout(value: Int): ClientOptionsBase
Set the connect timeout
-
abstract
def
setEnabledSecureTransportProtocols(value: Set[String]): TCPSSLOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
setIdleTimeout(value: Int): TCPSSLOptions
Set the idle timeout, default time unit is seconds.
Set the idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.
If you want change default time unit, use TCPSSLOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
setIdleTimeoutUnit(value: TimeUnit): TCPSSLOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setJdkSslEngineOptions(value: JdkSSLEngineOptions): TCPSSLOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
setKeyStoreOptions(value: JksOptions): TCPSSLOptions
Set the key/cert options in jks format, aka Java keystore.
Set the key/cert options in jks format, aka Java keystore.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setLocalAddress(value: String): ClientOptionsBase
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.
-
abstract
def
setLogActivity(value: Boolean): NetworkOptions
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
- NetworkOptions
-
abstract
def
setMetricsName(value: String): ClientOptionsBase
Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.
-
abstract
def
setOpenSslEngineOptions(value: OpenSSLEngineOptions): TCPSSLOptions
- Definition Classes
- TCPSSLOptions
-
abstract
def
setPemKeyCertOptions(value: PemKeyCertOptions): TCPSSLOptions
Set the key/cert store options in pem format.
Set the key/cert store options in pem format.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setPemTrustOptions(value: PemTrustOptions): TCPSSLOptions
Set the trust options in pem format
Set the trust options in pem format
- Definition Classes
- TCPSSLOptions
-
abstract
def
setPfxKeyCertOptions(value: PfxOptions): TCPSSLOptions
Set the key/cert options in pfx format.
Set the key/cert options in pfx format.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setPfxTrustOptions(value: PfxOptions): TCPSSLOptions
Set the trust options in pfx format
Set the trust options in pfx format
- Definition Classes
- TCPSSLOptions
-
abstract
def
setProxyOptions(value: ProxyOptions): ClientOptionsBase
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.
-
abstract
def
setReceiveBufferSize(value: Int): NetworkOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- NetworkOptions
-
abstract
def
setReuseAddress(value: Boolean): NetworkOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- NetworkOptions
-
abstract
def
setReusePort(value: Boolean): NetworkOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- NetworkOptions
-
abstract
def
setSendBufferSize(value: Int): NetworkOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- NetworkOptions
-
abstract
def
setSoLinger(value: Int): TCPSSLOptions
Set whether SO_linger keep alive is enabled
Set whether SO_linger keep alive is enabled
- Definition Classes
- TCPSSLOptions
-
abstract
def
setSsl(value: Boolean): TCPSSLOptions
Set whether SSL/TLS is enabled
Set whether SSL/TLS is enabled
- Definition Classes
- TCPSSLOptions
-
abstract
def
setSslHandshakeTimeout(value: Long): TCPSSLOptions
Set the SSL handshake timeout, default time unit is seconds.
Set the SSL handshake timeout, default time unit is seconds.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setSslHandshakeTimeoutUnit(value: TimeUnit): TCPSSLOptions
Set the SSL handshake timeout unit.
Set the SSL handshake timeout unit. If not specified, default is seconds.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setTcpCork(value: Boolean): TCPSSLOptions
Enable the
TCP_CORK
option - only with linux native transport.Enable the
TCP_CORK
option - only with linux native transport.- Definition Classes
- TCPSSLOptions
-
abstract
def
setTcpFastOpen(value: Boolean): TCPSSLOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport.Enable the
TCP_FASTOPEN
option - only with linux native transport.- Definition Classes
- TCPSSLOptions
-
abstract
def
setTcpKeepAlive(value: Boolean): TCPSSLOptions
Set whether TCP keep alive is enabled
Set whether TCP keep alive is enabled
- Definition Classes
- TCPSSLOptions
-
abstract
def
setTcpNoDelay(value: Boolean): TCPSSLOptions
Set whether TCP no delay is enabled
Set whether TCP no delay is enabled
- Definition Classes
- TCPSSLOptions
-
abstract
def
setTcpQuickAck(value: Boolean): TCPSSLOptions
Enable the
TCP_QUICKACK
option - only with linux native transport.Enable the
TCP_QUICKACK
option - only with linux native transport.- Definition Classes
- TCPSSLOptions
-
abstract
def
setTrafficClass(value: Int): NetworkOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- NetworkOptions
-
abstract
def
setTrustAll(value: Boolean): ClientOptionsBase
Set whether all server certificates should be trusted
-
abstract
def
setTrustStoreOptions(value: JksOptions): TCPSSLOptions
Set the trust options in jks format, aka Java truststore
Set the trust options in jks format, aka Java truststore
- Definition Classes
- TCPSSLOptions
-
abstract
def
setUseAlpn(value: Boolean): TCPSSLOptions
Set the ALPN usage.
Set the ALPN usage.
- Definition Classes
- TCPSSLOptions
-
abstract
def
setUsePooledBuffers(value: Boolean): TCPSSLOptions
Set whether Netty pooled buffers are enabled
Set whether Netty pooled buffers are enabled
- Definition Classes
- TCPSSLOptions
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
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( ... )