Class SearchGuardSSLNettyTransport.SSLClientChannelInitializer

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    Enclosing class:
    SearchGuardSSLNettyTransport

    protected class SearchGuardSSLNettyTransport.SSLClientChannelInitializer
    extends io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
    • Nested Class Summary

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

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

      Constructors 
      Constructor Description
      SSLClientChannelInitializer​(org.elasticsearch.cluster.node.DiscoveryNode node)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exceptionCaught​(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)  
      protected void initChannel​(io.netty.channel.Channel ch)  
      • Methods inherited from class io.netty.channel.ChannelInitializer

        channelRegistered, 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
    • Constructor Detail

      • SSLClientChannelInitializer

        public SSLClientChannelInitializer​(org.elasticsearch.cluster.node.DiscoveryNode node)
    • Method Detail

      • initChannel

        protected void initChannel​(io.netty.channel.Channel ch)
                            throws Exception
        Throws:
        Exception
      • exceptionCaught

        public final void exceptionCaught​(io.netty.channel.ChannelHandlerContext ctx,
                                          Throwable cause)
                                   throws Exception
        Specified by:
        exceptionCaught in interface io.netty.channel.ChannelHandler
        Specified by:
        exceptionCaught in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception