vertx-lang-scala-docs_2.12 3.4.2 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package net
  Definition Classes
    core
- ClientOptionsBase
- JdkSSLEngineOptions
- JksOptions
- NetClient
- NetClientOptions
- NetServer
- NetServerOptions
- NetSocket
- NetworkOptions
- OpenSSLEngineOptions
- PemKeyCertOptions
- PemTrustOptions
- PfxOptions
- ProxyOptions
- SelfSignedCertificate
- SocketAddress
- TCPSSLOptions

c

io.vertx.scala.core.net

# NetClientOptions 

###
Companion object NetClientOptions

#### class NetClientOptions extends ClientOptionsBase

Options for configuring a io.vertx.scala.core.net.NetClient.

Linear Supertypes
ClientOptionsBase, TCPSSLOptions, NetworkOptions, AnyRef, Any
Known Subclasses
StompClientOptions, RedisOptions
 
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
     NetClientOptions → ClientOptionsBase → TCPSSLOptions
5.  def addCrlValue(value: Buffer): NetClientOptions

   Add a CRL value

   Add a CRL value

   Definition Classes
     NetClientOptions → ClientOptionsBase → TCPSSLOptions
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
     NetClientOptions → ClientOptionsBase → TCPSSLOptions
7.  def addEnabledSecureTransportProtocol(value: String): NetClientOptions

   Add an enabled SSL/TLS protocols, appended to the ordered protocols.

   Add an enabled SSL/TLS protocols, appended to the ordered protocols.

   Definition Classes
     NetClientOptions → ClientOptionsBase → TCPSSLOptions
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
      @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
15.  def getConnectTimeout: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase
16.  def getCrlPaths: Buffer[String]
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
17.  def getCrlValues: Buffer[Buffer]
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
18.  def getEnabledCipherSuites: Set[String]
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
19.  def getEnabledSecureTransportProtocols: Set[String]
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
20.  def getHostnameVerificationAlgorithm: String
21.  def getIdleTimeout: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
22.  def getJdkSslEngineOptions: JdkSSLEngineOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
23.  def getKeyStoreOptions: JksOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
24.  def getLocalAddress: String
    Definition Classes
      NetClientOptions → ClientOptionsBase
25.  def getLogActivity: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
26.  def getMetricsName: String
    Definition Classes
      NetClientOptions → ClientOptionsBase
27.  def getOpenSslEngineOptions: OpenSSLEngineOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
28.  def getPemKeyCertOptions: PemKeyCertOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
29.  def getPemTrustOptions: PemTrustOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
30.  def getPfxKeyCertOptions: PfxOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
31.  def getPfxTrustOptions: PfxOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
32.  def getProxyOptions: ProxyOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase
33.  def getReceiveBufferSize: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
34.  def getReconnectAttempts: Int
35.  def getReconnectInterval: Long
36.  def getSendBufferSize: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
37.  def getSoLinger: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
38.  def getTrafficClass: Int
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
39.  def getTrustStoreOptions: JksOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
40.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
41.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
42.  def isReuseAddress: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
43.  def isSsl: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
44.  def isTcpKeepAlive: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
45.  def isTcpNoDelay: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
46.  def isTrustAll: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase
47.  def isUseAlpn: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
48.  def isUsePooledBuffers: Boolean
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
49.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
50.  final def notify(): Unit
    Definition Classes
      AnyRef
51.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
52.  def setConnectTimeout(value: Int): NetClientOptions

    Set the connect timeout

    Set the connect timeout

    Definition Classes
      NetClientOptions → ClientOptionsBase
53.  def setHostnameVerificationAlgorithm(value: String): NetClientOptions

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

54.  def setIdleTimeout(value: Int): NetClientOptions

    Set the idle timeout, in seconds.

    Set the idle timeout, in seconds. zero means don't timeout. This determines if a connection will timeout and be closed if no data is received within the timeout.

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
55.  def setJdkSslEngineOptions(value: JdkSSLEngineOptions): NetClientOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
56.  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
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
57.  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
      NetClientOptions → ClientOptionsBase
58.  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
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
59.  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
      NetClientOptions → ClientOptionsBase
60.  def setOpenSslEngineOptions(value: OpenSSLEngineOptions): NetClientOptions
    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
61.  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
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
62.  def setPemTrustOptions(value: PemTrustOptions): NetClientOptions

    Set the trust options in pem format

    Set the trust options in pem format

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
63.  def setPfxKeyCertOptions(value: PfxOptions): NetClientOptions

    Set the key/cert options in pfx format.

    Set the key/cert options in pfx format.

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
64.  def setPfxTrustOptions(value: PfxOptions): NetClientOptions

    Set the trust options in pfx format

    Set the trust options in pfx format

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
65.  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
      NetClientOptions → ClientOptionsBase
66.  def setReceiveBufferSize(value: Int): NetClientOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
67.  def setReconnectAttempts(value: Int): NetClientOptions

    Set the value of reconnect attempts

68.  def setReconnectInterval(value: Long): NetClientOptions

    Set the reconnect interval

69.  def setReuseAddress(value: Boolean): NetClientOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
70.  def setSendBufferSize(value: Int): NetClientOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
71.  def setSoLinger(value: Int): NetClientOptions

    Set whether SO_linger keep alive is enabled

    Set whether SO_linger keep alive is enabled

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
72.  def setSsl(value: Boolean): NetClientOptions

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
73.  def setTcpKeepAlive(value: Boolean): NetClientOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
74.  def setTcpNoDelay(value: Boolean): NetClientOptions

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
75.  def setTrafficClass(value: Int): NetClientOptions

    Set the value of traffic class

    Set the value of traffic class

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions → NetworkOptions
76.  def setTrustAll(value: Boolean): NetClientOptions

    Set whether all server certificates should be trusted

    Set whether all server certificates should be trusted

    Definition Classes
      NetClientOptions → ClientOptionsBase
77.  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
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
78.  def setUseAlpn(value: Boolean): NetClientOptions

    Set the ALPN usage.

    Set the ALPN usage.

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
79.  def setUsePooledBuffers(value: Boolean): NetClientOptions

    Set whether Netty pooled buffers are enabled

    Set whether Netty pooled buffers are enabled

    Definition Classes
      NetClientOptions → ClientOptionsBase → TCPSSLOptions
80.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
81.  def toString(): String
    Definition Classes
      AnyRef → Any
82.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
83.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
84.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from ClientOptionsBase

### Inherited from TCPSSLOptions

### Inherited from NetworkOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped