Class ServerSslHandlerChannelInitializer<T extends io.netty.channel.Channel>

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<T>
org.apache.nifi.event.transport.netty.channel.StandardChannelInitializer<T>
org.apache.nifi.event.transport.netty.channel.ssl.ServerSslHandlerChannelInitializer<T>
Type Parameters:
T - Channel Type
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class ServerSslHandlerChannelInitializer<T extends io.netty.channel.Channel> extends StandardChannelInitializer<T>
Server SslHandler Channel Initializer for configuring SslHandler with server parameters
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final ClientAuth
     
    private final SSLContext
     
    private final SSLParameters
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerSslHandlerChannelInitializer(Supplier<List<io.netty.channel.ChannelHandler>> handlerSupplier, SSLContext sslContext, ClientAuth clientAuth, SSLParameters sslParameters)
    Server SSL Channel Initializer with handlers and SSLContext
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    initChannel(io.netty.channel.Channel channel)
     
    private io.netty.handler.ssl.SslHandler
     

    Methods inherited from class org.apache.nifi.event.transport.netty.channel.StandardChannelInitializer

    setIdleTimeout, setWriteTimeout

    Methods inherited from class io.netty.channel.ChannelInitializer

    channelRegistered, exceptionCaught, handlerAdded, handlerRemoved

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • ServerSslHandlerChannelInitializer

      public ServerSslHandlerChannelInitializer(Supplier<List<io.netty.channel.ChannelHandler>> handlerSupplier, SSLContext sslContext, ClientAuth clientAuth, SSLParameters sslParameters)
      Server SSL Channel Initializer with handlers and SSLContext
      Parameters:
      handlerSupplier - Channel Handler Supplier
      sslContext - SSLContext
      clientAuth - Client Authentication configuration
      sslParameters - SSL Parameters
  • Method Details

    • initChannel

      protected void initChannel(io.netty.channel.Channel channel)
      Overrides:
      initChannel in class StandardChannelInitializer<T extends io.netty.channel.Channel>
    • newSslHandler

      private io.netty.handler.ssl.SslHandler newSslHandler()