trait TCPSSLOptions extends NetworkOptions
Base class. TCP and SSL related options
- Alphabetic
- By Inheritance
- TCPSSLOptions
- NetworkOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addCrlPath(value: String): TCPSSLOptions
Add a CRL path
-
abstract
def
addCrlValue(value: Buffer): TCPSSLOptions
Add a CRL value
-
abstract
def
addEnabledCipherSuite(value: String): TCPSSLOptions
Add an enabled cipher suite, appended to the ordered suites.
-
abstract
def
addEnabledSecureTransportProtocol(value: String): TCPSSLOptions
Sets the list of enabled SSL/TLS protocols.
- abstract def getCrlPaths: Buffer[String]
- abstract def getCrlValues: Buffer[Buffer]
- abstract def getEnabledCipherSuites: Set[String]
- abstract def getEnabledSecureTransportProtocols: Set[String]
- abstract def getIdleTimeout: Int
- abstract def getIdleTimeoutUnit: TimeUnit
- abstract def getJdkSslEngineOptions: JdkSSLEngineOptions
- abstract def getKeyStoreOptions: JksOptions
-
abstract
def
getLogActivity: Boolean
- Definition Classes
- TCPSSLOptions → NetworkOptions
- abstract def getOpenSslEngineOptions: OpenSSLEngineOptions
- abstract def getPemKeyCertOptions: PemKeyCertOptions
- abstract def getPemTrustOptions: PemTrustOptions
- abstract def getPfxKeyCertOptions: PfxOptions
- abstract def getPfxTrustOptions: PfxOptions
-
abstract
def
getReceiveBufferSize: Int
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
getSendBufferSize: Int
- Definition Classes
- TCPSSLOptions → NetworkOptions
- abstract def getSoLinger: Int
-
abstract
def
getTrafficClass: Int
- Definition Classes
- TCPSSLOptions → NetworkOptions
- abstract def getTrustStoreOptions: JksOptions
-
abstract
def
isReuseAddress: Boolean
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
isReusePort: Boolean
- Definition Classes
- TCPSSLOptions → NetworkOptions
- abstract def isSsl: Boolean
- abstract def isTcpCork: Boolean
- abstract def isTcpFastOpen: Boolean
- abstract def isTcpKeepAlive: Boolean
- abstract def isTcpNoDelay: Boolean
- abstract def isTcpQuickAck: Boolean
- abstract def isUseAlpn: Boolean
- abstract def isUsePooledBuffers: Boolean
- abstract def setEnabledSecureTransportProtocols(value: Set[String]): 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
-
abstract
def
setIdleTimeoutUnit(value: TimeUnit): TCPSSLOptions
Set the idle timeout unit.
Set the idle timeout unit. If not specified, default is seconds.
- abstract def setJdkSslEngineOptions(value: JdkSSLEngineOptions): TCPSSLOptions
-
abstract
def
setKeyStoreOptions(value: JksOptions): TCPSSLOptions
Set the key/cert options in jks format, aka Java keystore.
-
abstract
def
setLogActivity(value: Boolean): TCPSSLOptions
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
- TCPSSLOptions → NetworkOptions
- abstract def setOpenSslEngineOptions(value: OpenSSLEngineOptions): TCPSSLOptions
-
abstract
def
setPemKeyCertOptions(value: PemKeyCertOptions): TCPSSLOptions
Set the key/cert store options in pem format.
-
abstract
def
setPemTrustOptions(value: PemTrustOptions): TCPSSLOptions
Set the trust options in pem format
-
abstract
def
setPfxKeyCertOptions(value: PfxOptions): TCPSSLOptions
Set the key/cert options in pfx format.
-
abstract
def
setPfxTrustOptions(value: PfxOptions): TCPSSLOptions
Set the trust options in pfx format
-
abstract
def
setReceiveBufferSize(value: Int): TCPSSLOptions
Set the TCP receive buffer size
Set the TCP receive buffer size
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
setReuseAddress(value: Boolean): TCPSSLOptions
Set the value of reuse address
Set the value of reuse address
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
setReusePort(value: Boolean): TCPSSLOptions
Set the value of reuse port.
Set the value of reuse port.
This is only supported by native transports.
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
setSendBufferSize(value: Int): TCPSSLOptions
Set the TCP send buffer size
Set the TCP send buffer size
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
setSoLinger(value: Int): TCPSSLOptions
Set whether SO_linger keep alive is enabled
-
abstract
def
setSsl(value: Boolean): TCPSSLOptions
Set whether SSL/TLS is enabled
-
abstract
def
setTcpCork(value: Boolean): TCPSSLOptions
Enable the
TCP_CORK
option - only with linux native transport. -
abstract
def
setTcpFastOpen(value: Boolean): TCPSSLOptions
Enable the
TCP_FASTOPEN
option - only with linux native transport. -
abstract
def
setTcpKeepAlive(value: Boolean): TCPSSLOptions
Set whether TCP keep alive is enabled
-
abstract
def
setTcpNoDelay(value: Boolean): TCPSSLOptions
Set whether TCP no delay is enabled
-
abstract
def
setTcpQuickAck(value: Boolean): TCPSSLOptions
Enable the
TCP_QUICKACK
option - only with linux native transport. -
abstract
def
setTrafficClass(value: Int): TCPSSLOptions
Set the value of traffic class
Set the value of traffic class
- Definition Classes
- TCPSSLOptions → NetworkOptions
-
abstract
def
setTrustStoreOptions(value: JksOptions): TCPSSLOptions
Set the trust options in jks format, aka Java truststore
-
abstract
def
setUseAlpn(value: Boolean): TCPSSLOptions
Set the ALPN usage.
-
abstract
def
setUsePooledBuffers(value: Boolean): TCPSSLOptions
Set whether Netty pooled buffers are enabled
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( ... )