Class ReadOnlyTcpServerConfig
- java.lang.Object
-
- io.servicetalk.tcp.netty.internal.ReadOnlyTcpServerConfig
-
public final class ReadOnlyTcpServerConfig extends java.lang.ObjectRead only view ofTcpServerConfig.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intbacklog()Returns the maximum queue length for incoming connection indications (a request to connect).FlushStrategyflushStrategy()Returns theFlushStrategyfor this client.java.lang.LongidleTimeoutMs()Returns the idle timeout as expressed via optionServiceTalkSocketOptions.IDLE_TIMEOUT.booleanisAlpnConfigured()Returnstrueif 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 theChannelOptions for all channels.io.netty.util.Mapping<java.lang.String,io.netty.handler.ssl.SslContext>sniMapping()Gets theMappingfor SNI.io.netty.handler.ssl.SslContextsslContext()Returns theSslContext.TransportObservertransportObserver()Returns theTransportObserverif any for all channels.UserDataLoggerConfigwireLoggerConfig()Get theUserDataLoggerConfigfor wire logging.
-
-
-
Method Detail
-
isAlpnConfigured
public boolean isAlpnConfigured()
Returnstrueif the TLS ALPN Extension is configured on either default or any of the SNI configurations.- Returns:
trueif the TLS ALPN Extension is configured on either default or any of the SNI configurations.
-
transportObserver
public TransportObserver transportObserver()
Returns theTransportObserverif any for all channels.- Returns:
- the
TransportObserverif any
-
sslContext
@Nullable public io.netty.handler.ssl.SslContext sslContext()
Returns theSslContext.- Returns:
SslContext,nullif none specified
-
sniMapping
@Nullable public io.netty.util.Mapping<java.lang.String,io.netty.handler.ssl.SslContext> sniMapping()
Gets theMappingfor SNI.- Returns:
- the
Mappingfor SNI,nullif 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 theChannelOptions 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 theFlushStrategyfor this client.- Returns:
FlushStrategyfor this client
-
wireLoggerConfig
@Nullable public final UserDataLoggerConfig wireLoggerConfig()
Get theUserDataLoggerConfigfor wire logging.- Returns:
- the
UserDataLoggerConfigfor wire logging, ornull.
-
-