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 . |
WireLoggingInitializer |
wireLoggingInitializer()
Returns the
WireLoggingInitializer if any for this client. |
@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 WireLoggingInitializer wireLoggingInitializer()
WireLoggingInitializer
if any for this client.WireLoggingInitializer
if anypublic boolean isAlpnConfigured()
true
if the TLS ALPN Extension is
configured.true
if the TLS ALPN Extension is
configured