@Immutable public class TlsTcpListener extends TcpListener
| Constructor and Description |
|---|
TlsTcpListener(Integer port,
String bindAddress,
Tls tls)
Creates a new TLS Listener which listens to a specific port and bind address
|
TlsTcpListener(int port,
String bindAddress,
Tls tls,
boolean proxyProtocolSupported)
Creates a new TLS Listener which listens to a specific port, bind address and proxy setting
|
TlsTcpListener(int port,
String bindAddress,
Tls tls,
boolean proxyProtocolSupported,
SocketOptionsProperties socketOptionsProperties,
ConnectOverloadProtectionProperties connectOverloadProtectionProperties,
ClientWriteBufferProperties clientWriteBufferProperties)
Creates a new TLS Listener which listens to a specific port, bind address, proxy setting, socket options, overload protection and write buffer properties
|
| Modifier and Type | Method and Description |
|---|---|
Tls |
getTls() |
String |
readableName() |
getBindAddress, getClientWriteBufferProperties, getConnectOverloadProtectionProperties, getPort, getSocketOptionsProperties, isProxyProtocolSupportedpublic TlsTcpListener(Integer port, String bindAddress, Tls tls)
port - the portbindAddress - the bind addresstls - the TLS configurationpublic TlsTcpListener(int port,
String bindAddress,
Tls tls,
boolean proxyProtocolSupported)
port - the portbindAddress - the bind addresstls - the TLS configurationproxyProtocolSupported - if this listener should be able to utilize the PROXY protocolpublic TlsTcpListener(int port,
String bindAddress,
Tls tls,
boolean proxyProtocolSupported,
@Nullable
SocketOptionsProperties socketOptionsProperties,
@Nullable
ConnectOverloadProtectionProperties connectOverloadProtectionProperties,
@Nullable
ClientWriteBufferProperties clientWriteBufferProperties)
port - the portbindAddress - the bind addresstls - the TLS configurationproxyProtocolSupported - if this listener should be able to utilize the PROXY protocolsocketOptionsProperties - a configuration of SocketOptionsProperties for this listener or null to use the defaultconnectOverloadProtectionProperties - a configuration of ConnectOverloadProtectionProperties for this listener or null to deactivate connect overload protectionclientWriteBufferProperties - a configuration of ClientWriteBufferProperties for this listener or null to use the defaultpublic Tls getTls()
public String readableName()
readableName in interface ListenerreadableName in class TcpListenerCopyright © 2013-2018 dc-square GmbH. All Rights Reserved.