Class ReadOnlyTcpClientConfig


  • public final class ReadOnlyTcpClientConfig
    extends java.lang.Object
    Read only view of TcpClientConfig.
    • Method Detail

      • sslContext

        @Nullable
        public io.netty.handler.ssl.SslContext sslContext()
        Returns the SslContext.
        Returns:
        SslContext, null if none specified
      • preferredAlpnProtocol

        @Nullable
        public java.lang.String preferredAlpnProtocol()
        Get the preferred ALPN protocol. If a protocol sensitive decision must be made without knowing which protocol is negotiated (e.g. at the client level) this protocol can be used as a best guess.
        Returns:
        the preferred ALPN protocol.
      • options

        public final java.util.Map<io.netty.channel.ChannelOption,​java.lang.Object> options()
        Returns the ChannelOptions for accepted channels.
        Returns:
        Unmodifiable map of options
      • idleTimeoutMs

        @Nullable
        public final java.lang.Long idleTimeoutMs()
        Returns the idle timeout as expressed via option ServiceTalkSocketOptions.IDLE_TIMEOUT.
        Returns:
        idle timeout in milliseconds