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 Deprecated Methods Modifier and Type Method Description intbacklog()Deprecated.UselistenOptions()with keyServiceTalkSocketOptions.SO_BACKLOG.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>listenOptions()Returns theSocketOptions that are applied to the server socket channel which listens/accepts socket channels.java.util.Map<io.netty.channel.ChannelOption,java.lang.Object>options()Returns theChannelOptions for accepted 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.
-
listenOptions
public java.util.Map<io.netty.channel.ChannelOption,java.lang.Object> listenOptions()
Returns theSocketOptions that are applied to the server socket channel which listens/accepts socket channels.- Returns:
- Unmodifiable map of options
-
backlog
@Deprecated public int backlog()
Deprecated.UselistenOptions()with keyServiceTalkSocketOptions.SO_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 accepted 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.
-
-