public final class ReadOnlyTcpServerConfig
extends java.lang.Object
TcpServerConfig
.Modifier and Type | Method and Description |
---|---|
int |
backlog()
Returns the maximum queue length for incoming connection indications (a request to connect).
|
io.netty.util.DomainNameMapping<io.netty.handler.ssl.SslContext> |
domainNameMapping()
Gets
DomainNameMapping , if any. |
FlushStrategy |
flushStrategy()
Returns the
FlushStrategy for this client. |
java.lang.Long |
idleTimeoutMs()
Returns the idle timeout as expressed via option
ServiceTalkSocketOptions.IDLE_TIMEOUT . |
boolean |
isAlpnConfigured()
Returns
true if the TLS ALPN Extension is
configured. |
java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> |
options()
Returns the
ChannelOption s for all channels. |
io.netty.handler.ssl.SslContext |
sslContext()
Returns the
SslContext . |
TransportObserver |
transportObserver()
Returns the
TransportObserver if any for all channels. |
UserDataLoggerConfig |
wireLoggerConfig()
Get the
UserDataLoggerConfig for wire logging. |
public TransportObserver transportObserver()
TransportObserver
if any for all channels.TransportObserver
if any@Nullable public io.netty.handler.ssl.SslContext sslContext()
SslContext
.SslContext
, null
if none specified@Nullable public io.netty.util.DomainNameMapping<io.netty.handler.ssl.SslContext> domainNameMapping()
DomainNameMapping
, if any.null
if none configuredpublic int backlog()
public final java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> options()
ChannelOption
s for all channels.@Nullable public final java.lang.Long idleTimeoutMs()
ServiceTalkSocketOptions.IDLE_TIMEOUT
.public final FlushStrategy flushStrategy()
FlushStrategy
for this client.FlushStrategy
for this client@Nullable public final UserDataLoggerConfig wireLoggerConfig()
UserDataLoggerConfig
for wire logging.UserDataLoggerConfig
for wire logging, or null
.public boolean isAlpnConfigured()
true
if the TLS ALPN Extension is
configured.true
if the TLS ALPN Extension is
configured