Class SslServerChannelInitializer

java.lang.Object
io.servicetalk.transport.netty.internal.SslServerChannelInitializer
All Implemented Interfaces:
ChannelInitializer

public final class SslServerChannelInitializer extends Object implements ChannelInitializer
SSL ChannelInitializer for servers.
  • Constructor Details

    • SslServerChannelInitializer

      public SslServerChannelInitializer(io.netty.handler.ssl.SslContext sslContext)
      New instance.
      Parameters:
      sslContext - to use for default SSL configuration.
  • Method Details

    • init

      public void init(io.netty.channel.Channel channel)
      Description copied from interface: ChannelInitializer
      Configures the passed Channel.

      Typically, an initializer should add handlers to the channel at the end. This makes it possible for the code using the initializer to create the order of the handlers in the pipeline.

      Specified by:
      init in interface ChannelInitializer
      Parameters:
      channel - Netty Channel.