Modifier and Type | Method and Description |
---|---|
NetServer |
Vertx.createNetServer(NetServerOptions options)
Create a TCP/SSL server using the specified options
|
Modifier and Type | Class and Description |
---|---|
class |
HttpServerOptions
Represents options used by an
HttpServer instance |
Modifier and Type | Method and Description |
---|---|
NetServerOptions |
NetServerOptions.addCrlPath(String crlPath) |
NetServerOptions |
NetServerOptions.addCrlValue(Buffer crlValue) |
NetServerOptions |
NetServerOptions.addEnabledCipherSuite(String suite) |
NetServerOptions |
NetServerOptions.addEnabledSecureTransportProtocol(String protocol) |
NetServerOptions |
NetServerOptions.removeEnabledSecureTransportProtocol(String protocol) |
NetServerOptions |
NetServerOptions.setAcceptBacklog(int acceptBacklog)
Set the accept back log
|
NetServerOptions |
NetServerOptions.setClientAuth(ClientAuth clientAuth)
Set whether client auth is required
|
NetServerOptions |
NetServerOptions.setEnabledSecureTransportProtocols(Set<String> enabledSecureTransportProtocols) |
NetServerOptions |
NetServerOptions.setHost(String host)
Set the host
|
NetServerOptions |
NetServerOptions.setIdleTimeout(int idleTimeout) |
NetServerOptions |
NetServerOptions.setIdleTimeoutUnit(TimeUnit idleTimeoutUnit) |
NetServerOptions |
NetServerOptions.setJdkSslEngineOptions(JdkSSLEngineOptions sslEngineOptions) |
NetServerOptions |
NetServerOptions.setKeyCertOptions(KeyCertOptions options) |
NetServerOptions |
NetServerOptions.setKeyStoreOptions(JksOptions options) |
NetServerOptions |
NetServerOptions.setLogActivity(boolean logEnabled) |
NetServerOptions |
NetServerOptions.setOpenSslEngineOptions(OpenSSLEngineOptions sslEngineOptions) |
NetServerOptions |
NetServerOptions.setPemKeyCertOptions(PemKeyCertOptions options) |
NetServerOptions |
NetServerOptions.setPemTrustOptions(PemTrustOptions options) |
NetServerOptions |
NetServerOptions.setPfxKeyCertOptions(PfxOptions options) |
NetServerOptions |
NetServerOptions.setPfxTrustOptions(PfxOptions options) |
NetServerOptions |
NetServerOptions.setPort(int port)
Set the port
|
NetServerOptions |
NetServerOptions.setProxyProtocolTimeout(long proxyProtocolTimeout)
Set the Proxy protocol timeout, default time unit is seconds.
|
NetServerOptions |
NetServerOptions.setProxyProtocolTimeoutUnit(TimeUnit proxyProtocolTimeoutUnit)
Set the Proxy protocol timeout unit.
|
NetServerOptions |
NetServerOptions.setReceiveBufferSize(int receiveBufferSize) |
NetServerOptions |
NetServerOptions.setReuseAddress(boolean reuseAddress) |
NetServerOptions |
NetServerOptions.setReusePort(boolean reusePort) |
NetServerOptions |
NetServerOptions.setSendBufferSize(int sendBufferSize) |
NetServerOptions |
NetServerOptions.setSni(boolean sni)
Set whether the server supports Server Name Indiciation
|
NetServerOptions |
NetServerOptions.setSoLinger(int soLinger) |
NetServerOptions |
NetServerOptions.setSsl(boolean ssl) |
NetServerOptions |
NetServerOptions.setSslEngineOptions(SSLEngineOptions sslEngineOptions) |
NetServerOptions |
NetServerOptions.setSslHandshakeTimeout(long sslHandshakeTimeout) |
NetServerOptions |
NetServerOptions.setSslHandshakeTimeoutUnit(TimeUnit sslHandshakeTimeoutUnit) |
NetServerOptions |
NetServerOptions.setTcpCork(boolean tcpCork) |
NetServerOptions |
NetServerOptions.setTcpFastOpen(boolean tcpFastOpen) |
NetServerOptions |
NetServerOptions.setTcpKeepAlive(boolean tcpKeepAlive) |
NetServerOptions |
NetServerOptions.setTcpNoDelay(boolean tcpNoDelay) |
NetServerOptions |
NetServerOptions.setTcpQuickAck(boolean tcpQuickAck) |
NetServerOptions |
NetServerOptions.setTrafficClass(int trafficClass) |
NetServerOptions |
NetServerOptions.setTrustOptions(TrustOptions options) |
NetServerOptions |
NetServerOptions.setTrustStoreOptions(JksOptions options) |
NetServerOptions |
NetServerOptions.setUseAlpn(boolean useAlpn) |
NetServerOptions |
NetServerOptions.setUseProxyProtocol(boolean useProxyProtocol)
Set whether the server uses the HA Proxy protocol
|
Constructor and Description |
---|
NetServerOptions(NetServerOptions other)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
default TCPMetrics<?> |
VertxMetrics.createNetServerMetrics(NetServerOptions options,
SocketAddress localAddress)
Provides the net server metrics SPI when a net server is created.
|
Modifier and Type | Method and Description |
---|---|
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions) |
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions,
Handler<BridgeEvent> eventHandler) |
Modifier and Type | Class and Description |
---|---|
class |
HttpTermOptions
The web term configuration options.
|
class |
TelnetTermOptions
Telnet terminal options configuration, extends
NetServerOptions . |
Modifier and Type | Class and Description |
---|---|
class |
StompServerOptions
STOMP Server options.
|
Modifier and Type | Class and Description |
---|---|
class |
MqttServerOptions
Represents options used by the MQTT server
|
Modifier and Type | Method and Description |
---|---|
NetServer |
Vertx.createNetServer(NetServerOptions options)
Create a TCP/SSL server using the specified options
|
Modifier and Type | Method and Description |
---|---|
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions) |
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions,
Handler<BridgeEvent> eventHandler) |
Modifier and Type | Method and Description |
---|---|
NetServer |
Vertx.createNetServer(NetServerOptions options)
Create a TCP/SSL server using the specified options
|
Modifier and Type | Method and Description |
---|---|
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions) |
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions,
Handler<BridgeEvent> eventHandler) |
Modifier and Type | Method and Description |
---|---|
NetServer |
Vertx.createNetServer(NetServerOptions options)
Create a TCP/SSL server using the specified options
|
Modifier and Type | Method and Description |
---|---|
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions) |
static TcpEventBusBridge |
TcpEventBusBridge.create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions,
Handler<BridgeEvent> eventHandler) |
Copyright © 2021 Eclipse. All rights reserved.