Interface ChannelInboundHandlerDefaults

  • All Superinterfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    All Known Implementing Classes:
    ChannelInputStream, SaslDecoderEncoder

    public interface ChannelInboundHandlerDefaults
    extends io.netty.channel.ChannelInboundHandler
    This is effectively the same as ChannelInboundHandlerAdapter but allows to be inherited in a class with another superclass.
    • Nested Class Summary

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

        io.netty.channel.ChannelHandler.Sharable
    • Method Detail

      • channelRegistered

        default void channelRegistered​(io.netty.channel.ChannelHandlerContext ctx)
                                throws Exception
        Specified by:
        channelRegistered in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelUnregistered

        default void channelUnregistered​(io.netty.channel.ChannelHandlerContext ctx)
                                  throws Exception
        Specified by:
        channelUnregistered in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelActive

        default void channelActive​(io.netty.channel.ChannelHandlerContext ctx)
                            throws Exception
        Specified by:
        channelActive in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelInactive

        default void channelInactive​(io.netty.channel.ChannelHandlerContext ctx)
                              throws Exception
        Specified by:
        channelInactive in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelRead

        default void channelRead​(io.netty.channel.ChannelHandlerContext ctx,
                                 Object msg)
                          throws Exception
        Specified by:
        channelRead in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelReadComplete

        default void channelReadComplete​(io.netty.channel.ChannelHandlerContext ctx)
                                  throws Exception
        Specified by:
        channelReadComplete in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • userEventTriggered

        default void userEventTriggered​(io.netty.channel.ChannelHandlerContext ctx,
                                        Object evt)
                                 throws Exception
        Specified by:
        userEventTriggered in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • channelWritabilityChanged

        default void channelWritabilityChanged​(io.netty.channel.ChannelHandlerContext ctx)
                                        throws Exception
        Specified by:
        channelWritabilityChanged in interface io.netty.channel.ChannelInboundHandler
        Throws:
        Exception
      • exceptionCaught

        default 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
      • handlerAdded

        default void handlerAdded​(io.netty.channel.ChannelHandlerContext ctx)
                           throws Exception
        Specified by:
        handlerAdded in interface io.netty.channel.ChannelHandler
        Throws:
        Exception
      • handlerRemoved

        default void handlerRemoved​(io.netty.channel.ChannelHandlerContext ctx)
                             throws Exception
        Specified by:
        handlerRemoved in interface io.netty.channel.ChannelHandler
        Throws:
        Exception