Class NettyServerInitializer

  • All Implemented Interfaces:,

    public class NettyServerInitializer
    Creates a newly configured ChannelPipeline for a new channel.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initChannel​( ch)  
      • Methods inherited from class

        channelRegistered, exceptionCaught, handlerAdded, handlerRemoved
      • Methods inherited from class

        channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
      • Methods inherited from class

        ensureNotSharable, isSharable
    • Field Detail


        public static final SystemProperty<Duration> WRITE_TIMEOUT_SECONDS
        Controls the write timeout time in seconds to handle stalled sessions and prevent DoS
    • Method Detail

      • initChannel

        public void initChannel​( ch)
                         throws Exception
        Specified by:
        initChannel in class<>