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

    Add a CRL path

    Add a CRL path

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

    Add a CRL value

    Add a CRL value

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  3. 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
  4. def addEnabledSecureTransportProtocol(value: String): NetClientOptions

    Sets the list of enabled SSL/TLS protocols.

    Sets the list of enabled SSL/TLS protocols.

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  5. def asJava: core.net.NetClientOptions
  6. def getConnectTimeout: Int
    Definition Classes
    NetClientOptionsClientOptionsBase
  7. def getCrlPaths: Buffer[String]
  8. def getCrlValues: Buffer[Buffer]
  9. def getEnabledCipherSuites: Set[String]
  10. def getEnabledSecureTransportProtocols: Set[String]
  11. def getHostnameVerificationAlgorithm: String
  12. def getIdleTimeout: Int
  13. def getIdleTimeoutUnit: TimeUnit
  14. def getJdkSslEngineOptions: JdkSSLEngineOptions
  15. def getKeyStoreOptions: JksOptions
  16. def getLocalAddress: String
    Definition Classes
    NetClientOptionsClientOptionsBase
  17. def getLogActivity: Boolean
  18. def getMetricsName: String
    Definition Classes
    NetClientOptionsClientOptionsBase
  19. def getOpenSslEngineOptions: OpenSSLEngineOptions
  20. def getPemKeyCertOptions: PemKeyCertOptions
  21. def getPemTrustOptions: PemTrustOptions
  22. def getPfxKeyCertOptions: PfxOptions
  23. def getPfxTrustOptions: PfxOptions
  24. def getProxyOptions: ProxyOptions
    Definition Classes
    NetClientOptionsClientOptionsBase
  25. def getReceiveBufferSize: Int
  26. def getReconnectAttempts: Int
  27. def getReconnectInterval: Long
  28. def getSendBufferSize: Int
  29. def getSoLinger: Int
  30. def getTrafficClass: Int
  31. def getTrustStoreOptions: JksOptions
  32. def isReuseAddress: Boolean
  33. def isReusePort: Boolean
  34. def isSsl: Boolean
  35. def isTcpCork: Boolean
  36. def isTcpFastOpen: Boolean
  37. def isTcpKeepAlive: Boolean
  38. def isTcpNoDelay: Boolean
  39. def isTcpQuickAck: Boolean
  40. def isTrustAll: Boolean
    Definition Classes
    NetClientOptionsClientOptionsBase
  41. def isUseAlpn: Boolean
  42. def isUsePooledBuffers: Boolean
  43. def setConnectTimeout(value: Int): NetClientOptions

    Set the connect timeout

    Set the connect timeout

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

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

  46. 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
  47. def setIdleTimeoutUnit(value: TimeUnit): NetClientOptions

    Set the idle timeout unit.

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

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  48. def setJdkSslEngineOptions(value: JdkSSLEngineOptions): NetClientOptions
  49. 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
  50. 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
  51. 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
  52. 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
  53. def setOpenSslEngineOptions(value: OpenSSLEngineOptions): NetClientOptions
  54. 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
  55. def setPemTrustOptions(value: PemTrustOptions): NetClientOptions

    Set the trust options in pem format

    Set the trust options in pem format

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

    Set the key/cert options in pfx format.

    Set the key/cert options in pfx format.

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

    Set the trust options in pfx format

    Set the trust options in pfx format

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  58. 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
  59. def setReceiveBufferSize(value: Int): NetClientOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

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

    Set the value of reconnect attempts

  61. def setReconnectInterval(value: Long): NetClientOptions

    Set the reconnect interval

  62. def setReuseAddress(value: Boolean): NetClientOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptionsNetworkOptions
  63. 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
  64. def setSendBufferSize(value: Int): NetClientOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

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

    Set whether SO_linger keep alive is enabled

    Set whether SO_linger keep alive is enabled

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

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  67. 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
  68. 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
  69. def setTcpKeepAlive(value: Boolean): NetClientOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

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

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions
  71. 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
  72. def setTrafficClass(value: Int): NetClientOptions

    Set the value of traffic class

    Set the value of traffic class

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

    Set whether all server certificates should be trusted

    Set whether all server certificates should be trusted

    Definition Classes
    NetClientOptionsClientOptionsBase
  74. 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
  75. def setUseAlpn(value: Boolean): NetClientOptions

    Set the ALPN usage.

    Set the ALPN usage.

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

    Set whether Netty pooled buffers are enabled

    Set whether Netty pooled buffers are enabled

    Definition Classes
    NetClientOptionsClientOptionsBaseTCPSSLOptions