class NetClientOptions extends ClientOptionsBase

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetClientOptions
  2. ClientOptionsBase
  3. TCPSSLOptions
  4. NetworkOptions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NetClientOptions(_asJava: core.net.NetClientOptions)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addCrlPath(value: String): NetClientOptions

    Add a CRL path

    Add a CRL path

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  5. def addCrlValue(value: Buffer): NetClientOptions

    Add a CRL value

    Add a CRL value

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  6. def addEnabledCipherSuite(value: String): NetClientOptions

    Add an enabled cipher suite, appended to the ordered suites.

    Add an enabled cipher suite, appended to the ordered suites.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  7. def addEnabledSecureTransportProtocol(value: String): NetClientOptions

    Sets the list of enabled SSL/TLS protocols.

    Sets the list of enabled SSL/TLS protocols.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def asJava: core.net.NetClientOptions
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getConnectTimeout: Int
    Definition Classes
    NetClientOptionsClientOptionsBase
  16. def getCrlPaths: Buffer[String]
  17. def getCrlValues: Buffer[Buffer]
  18. def getEnabledCipherSuites: Set[String]
  19. def getEnabledSecureTransportProtocols: Set[String]
  20. def getHostnameVerificationAlgorithm: String
  21. def getIdleTimeout: Int
  22. def getIdleTimeoutUnit: TimeUnit
  23. def getJdkSslEngineOptions: JdkSSLEngineOptions
  24. def getKeyStoreOptions: JksOptions
  25. def getLocalAddress: String
    Definition Classes
    NetClientOptionsClientOptionsBase
  26. def getLogActivity: Boolean
  27. def getMetricsName: String
    Definition Classes
    NetClientOptionsClientOptionsBase
  28. def getOpenSslEngineOptions: OpenSSLEngineOptions
  29. def getPemKeyCertOptions: PemKeyCertOptions
  30. def getPemTrustOptions: PemTrustOptions
  31. def getPfxKeyCertOptions: PfxOptions
  32. def getPfxTrustOptions: PfxOptions
  33. def getProxyOptions: ProxyOptions
    Definition Classes
    NetClientOptionsClientOptionsBase
  34. def getReceiveBufferSize: Int
  35. def getReconnectAttempts: Int
  36. def getReconnectInterval: Long
  37. def getSendBufferSize: Int
  38. def getSoLinger: Int
  39. def getTrafficClass: Int
  40. def getTrustStoreOptions: JksOptions
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def isReuseAddress: Boolean
  44. def isReusePort: Boolean
  45. def isSsl: Boolean
  46. def isTcpCork: Boolean
  47. def isTcpFastOpen: Boolean
  48. def isTcpKeepAlive: Boolean
  49. def isTcpNoDelay: Boolean
  50. def isTcpQuickAck: Boolean
  51. def isTrustAll: Boolean
    Definition Classes
    NetClientOptionsClientOptionsBase
  52. def isUseAlpn: Boolean
  53. def isUsePooledBuffers: Boolean
  54. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  57. def setConnectTimeout(value: Int): NetClientOptions

    Set the connect timeout

    Set the connect timeout

    Definition Classes
    NetClientOptionsClientOptionsBase
  58. def setEnabledSecureTransportProtocols(value: Set[String]): NetClientOptions
  59. def setHostnameVerificationAlgorithm(value: String): NetClientOptions

    Set the hostname verification algorithm interval To disable hostname verification, set hostnameVerificationAlgorithm to an empty String

  60. def setIdleTimeout(value: Int): NetClientOptions

    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 NetClientOptions

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  61. def setIdleTimeoutUnit(value: TimeUnit): NetClientOptions

    Set the idle timeout unit.

    Set the idle timeout unit. If not specified, default is seconds.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  62. def setJdkSslEngineOptions(value: JdkSSLEngineOptions): NetClientOptions
  63. def setKeyStoreOptions(value: JksOptions): NetClientOptions

    Set the key/cert options in jks format, aka Java keystore.

    Set the key/cert options in jks format, aka Java keystore.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  64. def setLocalAddress(value: String): NetClientOptions

    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.

    Definition Classes
    NetClientOptionsClientOptionsBase
  65. def setLogActivity(value: Boolean): NetClientOptions

    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
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  66. def setMetricsName(value: String): NetClientOptions

    Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.

    Set the metrics name identifying the reported metrics, useful for grouping metrics with the same name.

    Definition Classes
    NetClientOptionsClientOptionsBase
  67. def setOpenSslEngineOptions(value: OpenSSLEngineOptions): NetClientOptions
  68. def setPemKeyCertOptions(value: PemKeyCertOptions): NetClientOptions

    Set the key/cert store options in pem format.

    Set the key/cert store options in pem format.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  69. def setPemTrustOptions(value: PemTrustOptions): NetClientOptions

    Set the trust options in pem format

    Set the trust options in pem format

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  70. def setPfxKeyCertOptions(value: PfxOptions): NetClientOptions

    Set the key/cert options in pfx format.

    Set the key/cert options in pfx format.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  71. def setPfxTrustOptions(value: PfxOptions): NetClientOptions

    Set the trust options in pfx format

    Set the trust options in pfx format

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  72. def setProxyOptions(value: ProxyOptions): NetClientOptions

    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.

    Definition Classes
    NetClientOptionsClientOptionsBase
  73. def setReceiveBufferSize(value: Int): NetClientOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  74. def setReconnectAttempts(value: Int): NetClientOptions

    Set the value of reconnect attempts

  75. def setReconnectInterval(value: Long): NetClientOptions

    Set the reconnect interval

  76. def setReuseAddress(value: Boolean): NetClientOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  77. def setReusePort(value: Boolean): NetClientOptions

    Set the value of reuse port.

    Set the value of reuse port.

    This is only supported by native transports.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  78. def setSendBufferSize(value: Int): NetClientOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  79. def setSoLinger(value: Int): NetClientOptions

    Set whether SO_linger keep alive is enabled

    Set whether SO_linger keep alive is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  80. def setSsl(value: Boolean): NetClientOptions

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  81. def setTcpCork(value: Boolean): NetClientOptions

    Enable the TCP_CORK option - only with linux native transport.

    Enable the TCP_CORK option - only with linux native transport.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  82. def setTcpFastOpen(value: Boolean): NetClientOptions

    Enable the TCP_FASTOPEN option - only with linux native transport.

    Enable the TCP_FASTOPEN option - only with linux native transport.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  83. def setTcpKeepAlive(value: Boolean): NetClientOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  84. def setTcpNoDelay(value: Boolean): NetClientOptions

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  85. def setTcpQuickAck(value: Boolean): NetClientOptions

    Enable the TCP_QUICKACK option - only with linux native transport.

    Enable the TCP_QUICKACK option - only with linux native transport.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  86. def setTrafficClass(value: Int): NetClientOptions

    Set the value of traffic class

    Set the value of traffic class

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  87. def setTrustAll(value: Boolean): NetClientOptions

    Set whether all server certificates should be trusted

    Set whether all server certificates should be trusted

    Definition Classes
    NetClientOptionsClientOptionsBase
  88. def setTrustStoreOptions(value: JksOptions): NetClientOptions

    Set the trust options in jks format, aka Java truststore

    Set the trust options in jks format, aka Java truststore

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  89. def setUseAlpn(value: Boolean): NetClientOptions

    Set the ALPN usage.

    Set the ALPN usage.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  90. def setUsePooledBuffers(value: Boolean): NetClientOptions

    Set whether Netty pooled buffers are enabled

    Set whether Netty pooled buffers are enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  91. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  92. def toString(): String
    Definition Classes
    AnyRef → Any
  93. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  94. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  95. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ClientOptionsBase

Inherited from TCPSSLOptions

Inherited from NetworkOptions

Inherited from AnyRef

Inherited from Any

Ungrouped