vertx-lang-scala-docs_2.12 3.6.3 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

# NetServerOptions 

###
Companion object NetServerOptions

#### class NetServerOptions extends TCPSSLOptions

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

Linear Supertypes
TCPSSLOptions, NetworkOptions, AnyRef, Any
Known Subclasses
HttpServerOptions, HttpTermOptions, TelnetTermOptions, StompServerOptions, MqttServerOptions, ProtonServerOptions
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. NetServerOptions
2. TCPSSLOptions
3. NetworkOptions
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new NetServerOptions(_asJava: core.net.NetServerOptions)

### 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): NetServerOptions

   Add a CRL path

   Add a CRL path

   Definition Classes
     NetServerOptions → TCPSSLOptions
5.  def addCrlValue(value: Buffer): NetServerOptions

   Add a CRL value

   Add a CRL value

   Definition Classes
     NetServerOptions → TCPSSLOptions
6.  def addEnabledCipherSuite(value: String): NetServerOptions

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

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

   Definition Classes
     NetServerOptions → TCPSSLOptions
7.  def addEnabledSecureTransportProtocol(value: String): NetServerOptions

   Sets the list of enabled SSL/TLS protocols.

   Sets the list of enabled SSL/TLS protocols.

   Definition Classes
     NetServerOptions → TCPSSLOptions
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def asJava: core.net.NetServerOptions
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.  def getAcceptBacklog: Int
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def getClientAuth: ClientAuth
17.  def getCrlPaths: Buffer[String]
    Definition Classes
      NetServerOptions → TCPSSLOptions
18.  def getCrlValues: Buffer[Buffer]
    Definition Classes
      NetServerOptions → TCPSSLOptions
19.  def getEnabledCipherSuites: Set[String]
    Definition Classes
      NetServerOptions → TCPSSLOptions
20.  def getEnabledSecureTransportProtocols: Set[String]
    Definition Classes
      NetServerOptions → TCPSSLOptions
21.  def getHost: String
22.  def getIdleTimeout: Int
    Definition Classes
      NetServerOptions → TCPSSLOptions
23.  def getIdleTimeoutUnit: TimeUnit
    Definition Classes
      NetServerOptions → TCPSSLOptions
24.  def getJdkSslEngineOptions: JdkSSLEngineOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
25.  def getKeyStoreOptions: JksOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
26.  def getLogActivity: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
27.  def getOpenSslEngineOptions: OpenSSLEngineOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
28.  def getPemKeyCertOptions: PemKeyCertOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
29.  def getPemTrustOptions: PemTrustOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
30.  def getPfxKeyCertOptions: PfxOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
31.  def getPfxTrustOptions: PfxOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
32.  def getPort: Int
33.  def getReceiveBufferSize: Int
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
34.  def getSendBufferSize: Int
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
35.  def getSoLinger: Int
    Definition Classes
      NetServerOptions → TCPSSLOptions
36.  def getTrafficClass: Int
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
37.  def getTrustStoreOptions: JksOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
38.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
39.  def isClientAuthRequired: Boolean
40.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
41.  def isReuseAddress: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
42.  def isReusePort: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
43.  def isSni: Boolean
44.  def isSsl: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
45.  def isTcpCork: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
46.  def isTcpFastOpen: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
47.  def isTcpKeepAlive: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
48.  def isTcpNoDelay: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
49.  def isTcpQuickAck: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
50.  def isUseAlpn: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
51.  def isUsePooledBuffers: Boolean
    Definition Classes
      NetServerOptions → TCPSSLOptions
52.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
53.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
54.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
55.  def setAcceptBacklog(value: Int): NetServerOptions

    Set the accept back log

56.  def setClientAuth(value: ClientAuth): NetServerOptions

    Set whether client auth is required

57.  def setClientAuthRequired(value: Boolean): NetServerOptions

    Set whether client auth is required

58.  def setEnabledSecureTransportProtocols(value: Set[String]): NetServerOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
59.  def setHost(value: String): NetServerOptions

    Set the host

60.  def setIdleTimeout(value: Int): NetServerOptions

    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 NetServerOptions

    Definition Classes
      NetServerOptions → TCPSSLOptions
61.  def setIdleTimeoutUnit(value: TimeUnit): NetServerOptions

    Set the idle timeout unit.

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

    Definition Classes
      NetServerOptions → TCPSSLOptions
62.  def setJdkSslEngineOptions(value: JdkSSLEngineOptions): NetServerOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
63.  def setKeyStoreOptions(value: JksOptions): NetServerOptions

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

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

    Definition Classes
      NetServerOptions → TCPSSLOptions
64.  def setLogActivity(value: Boolean): NetServerOptions

    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
      NetServerOptions → TCPSSLOptions → NetworkOptions
65.  def setOpenSslEngineOptions(value: OpenSSLEngineOptions): NetServerOptions
    Definition Classes
      NetServerOptions → TCPSSLOptions
66.  def setPemKeyCertOptions(value: PemKeyCertOptions): NetServerOptions

    Set the key/cert store options in pem format.

    Set the key/cert store options in pem format.

    Definition Classes
      NetServerOptions → TCPSSLOptions
67.  def setPemTrustOptions(value: PemTrustOptions): NetServerOptions

    Set the trust options in pem format

    Set the trust options in pem format

    Definition Classes
      NetServerOptions → TCPSSLOptions
68.  def setPfxKeyCertOptions(value: PfxOptions): NetServerOptions

    Set the key/cert options in pfx format.

    Set the key/cert options in pfx format.

    Definition Classes
      NetServerOptions → TCPSSLOptions
69.  def setPfxTrustOptions(value: PfxOptions): NetServerOptions

    Set the trust options in pfx format

    Set the trust options in pfx format

    Definition Classes
      NetServerOptions → TCPSSLOptions
70.  def setPort(value: Int): NetServerOptions

    Set the port

71.  def setReceiveBufferSize(value: Int): NetServerOptions

    Set the TCP receive buffer size

    Set the TCP receive buffer size

    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
72.  def setReuseAddress(value: Boolean): NetServerOptions

    Set the value of reuse address

    Set the value of reuse address

    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
73.  def setReusePort(value: Boolean): NetServerOptions

    Set the value of reuse port.

    Set the value of reuse port.

    This is only supported by native transports.

    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
74.  def setSendBufferSize(value: Int): NetServerOptions

    Set the TCP send buffer size

    Set the TCP send buffer size

    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
75.  def setSni(value: Boolean): NetServerOptions

    Set whether the server supports Server Name Indiciation

76.  def setSoLinger(value: Int): NetServerOptions

    Set whether SO_linger keep alive is enabled

    Set whether SO_linger keep alive is enabled

    Definition Classes
      NetServerOptions → TCPSSLOptions
77.  def setSsl(value: Boolean): NetServerOptions

    Set whether SSL/TLS is enabled

    Set whether SSL/TLS is enabled

    Definition Classes
      NetServerOptions → TCPSSLOptions
78.  def setTcpCork(value: Boolean): NetServerOptions

    Enable the `TCP_CORK` option - only with linux native transport.

    Enable the `TCP_CORK` option - only with linux native transport.

    Definition Classes
      NetServerOptions → TCPSSLOptions
79.  def setTcpFastOpen(value: Boolean): NetServerOptions

    Enable the `TCP_FASTOPEN` option - only with linux native transport.

    Enable the `TCP_FASTOPEN` option - only with linux native transport.

    Definition Classes
      NetServerOptions → TCPSSLOptions
80.  def setTcpKeepAlive(value: Boolean): NetServerOptions

    Set whether TCP keep alive is enabled

    Set whether TCP keep alive is enabled

    Definition Classes
      NetServerOptions → TCPSSLOptions
81.  def setTcpNoDelay(value: Boolean): NetServerOptions

    Set whether TCP no delay is enabled

    Set whether TCP no delay is enabled

    Definition Classes
      NetServerOptions → TCPSSLOptions
82.  def setTcpQuickAck(value: Boolean): NetServerOptions

    Enable the `TCP_QUICKACK` option - only with linux native transport.

    Enable the `TCP_QUICKACK` option - only with linux native transport.

    Definition Classes
      NetServerOptions → TCPSSLOptions
83.  def setTrafficClass(value: Int): NetServerOptions

    Set the value of traffic class

    Set the value of traffic class

    Definition Classes
      NetServerOptions → TCPSSLOptions → NetworkOptions
84.  def setTrustStoreOptions(value: JksOptions): NetServerOptions

    Set the trust options in jks format, aka Java truststore

    Set the trust options in jks format, aka Java truststore

    Definition Classes
      NetServerOptions → TCPSSLOptions
85.  def setUseAlpn(value: Boolean): NetServerOptions

    Set the ALPN usage.

    Set the ALPN usage.

    Definition Classes
      NetServerOptions → TCPSSLOptions
86.  def setUsePooledBuffers(value: Boolean): NetServerOptions

    Set whether Netty pooled buffers are enabled

    Set whether Netty pooled buffers are enabled

    Definition Classes
      NetServerOptions → TCPSSLOptions
87.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
88.  def toString(): String
    Definition Classes
      AnyRef → Any
89.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
90.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
91.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from TCPSSLOptions

### Inherited from NetworkOptions

### Inherited from AnyRef

### Inherited from Any

### Ungrouped