Class AnalogwebChannelInitializer

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

    public class AnalogwebChannelInitializer
    extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
    Author:
    y2k2mt
    • Nested Class Summary

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

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

      Constructors 
      Constructor Description
      AnalogwebChannelInitializer​(io.netty.handler.ssl.SslContext ssl, org.analogweb.Application app, org.analogweb.ApplicationContext contextResolver, org.analogweb.ApplicationProperties props)  
    • Constructor Detail

      • AnalogwebChannelInitializer

        public AnalogwebChannelInitializer​(io.netty.handler.ssl.SslContext ssl,
                                           org.analogweb.Application app,
                                           org.analogweb.ApplicationContext contextResolver,
                                           org.analogweb.ApplicationProperties props)
    • Method Detail

      • resolveSslContext

        protected io.netty.handler.ssl.SslContext resolveSslContext()
      • initChannel

        public void initChannel​(io.netty.channel.socket.SocketChannel ch)
                         throws Exception
        Specified by:
        initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
        Throws:
        Exception
      • initChannelWithSsl

        protected void initChannelWithSsl​(io.netty.handler.ssl.SslContext sslContext,
                                          io.netty.channel.socket.SocketChannel ch)
                                   throws Exception
        Throws:
        Exception
      • initChannelWithClearText

        protected void initChannelWithClearText​(io.netty.channel.socket.SocketChannel ch)
                                         throws Exception
        Throws:
        Exception
      • createServerHandler

        protected io.netty.channel.ChannelHandler createServerHandler()
      • getSslContext

        protected io.netty.handler.ssl.SslContext getSslContext()
      • getApplication

        protected org.analogweb.Application getApplication()
      • getApplicationProperties

        protected org.analogweb.ApplicationProperties getApplicationProperties()
      • getClassLoader

        protected ClassLoader getClassLoader()
      • getHandlerSpecificExecutorGroup

        protected io.netty.util.concurrent.EventExecutorGroup getHandlerSpecificExecutorGroup()
      • getClassCollectors

        protected List<org.analogweb.util.ClassCollector> getClassCollectors()