Class ReadOnlyTcpServerConfig
- java.lang.Object
-
- io.servicetalk.tcp.netty.internal.ReadOnlyTcpServerConfig
-
public final class ReadOnlyTcpServerConfig extends java.lang.Object
Read only view ofTcpServerConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
backlog()
Returns the maximum queue length for incoming connection indications (a request to connect).FlushStrategy
flushStrategy()
Returns theFlushStrategy
for this client.java.lang.Long
idleTimeoutMs()
Returns the idle timeout as expressed via optionServiceTalkSocketOptions.IDLE_TIMEOUT
.boolean
isAlpnConfigured()
Returnstrue
if the TLS ALPN Extension is configured on either default or any of the SNI configurations.java.util.Map<io.netty.channel.ChannelOption,java.lang.Object>
options()
Returns theChannelOption
s for all channels.io.netty.util.Mapping<java.lang.String,io.netty.handler.ssl.SslContext>
sniMapping()
Gets theMapping
for SNI.io.netty.handler.ssl.SslContext
sslContext()
Returns theSslContext
.TransportObserver
transportObserver()
Returns theTransportObserver
if any for all channels.UserDataLoggerConfig
wireLoggerConfig()
Get theUserDataLoggerConfig
for wire logging.
-
-
-
Method Detail
-
isAlpnConfigured
public boolean isAlpnConfigured()
Returnstrue
if the TLS ALPN Extension is configured on either default or any of the SNI configurations.- Returns:
true
if the TLS ALPN Extension is configured on either default or any of the SNI configurations.
-
transportObserver
public TransportObserver transportObserver()
Returns theTransportObserver
if any for all channels.- Returns:
- the
TransportObserver
if any
-
sslContext
@Nullable public io.netty.handler.ssl.SslContext sslContext()
Returns theSslContext
.- Returns:
SslContext
,null
if none specified
-
sniMapping
@Nullable public io.netty.util.Mapping<java.lang.String,io.netty.handler.ssl.SslContext> sniMapping()
Gets theMapping
for SNI.- Returns:
- the
Mapping
for SNI,null
if SNI isn't enabled.
-
backlog
public int backlog()
Returns the maximum queue length for incoming connection indications (a request to connect).- Returns:
- backlog
-
options
public final java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> options()
Returns theChannelOption
s for all channels.- Returns:
- Unmodifiable map of options
-
idleTimeoutMs
@Nullable public final java.lang.Long idleTimeoutMs()
Returns the idle timeout as expressed via optionServiceTalkSocketOptions.IDLE_TIMEOUT
.- Returns:
- idle timeout in milliseconds
-
flushStrategy
public final FlushStrategy flushStrategy()
Returns theFlushStrategy
for this client.- Returns:
FlushStrategy
for this client
-
wireLoggerConfig
@Nullable public final UserDataLoggerConfig wireLoggerConfig()
Get theUserDataLoggerConfig
for wire logging.- Returns:
- the
UserDataLoggerConfig
for wire logging, ornull
.
-
-