Class Http3ConnectionHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
    Direct Known Subclasses:
    Http3ClientConnectionHandler, Http3ServerConnectionHandler

    public abstract class Http3ConnectionHandler
    extends io.netty.channel.ChannelInboundHandlerAdapter
    Handler that handles HTTP3 connections.
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelActive​(io.netty.channel.ChannelHandlerContext ctx)  
      void channelRead​(io.netty.channel.ChannelHandlerContext ctx, Object msg)  
      void handlerAdded​(io.netty.channel.ChannelHandlerContext ctx)  
      boolean isGoAwayReceived()
      Returns true if we received a GOAWAY frame from the remote peer.
      boolean isSharable()
      Always returns false as it keeps state.
      • Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

        channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, handlerRemoved
      • Methods inherited from interface io.netty.channel.ChannelHandler

        handlerRemoved
    • Method Detail

      • isGoAwayReceived

        public final boolean isGoAwayReceived()
        Returns true if we received a GOAWAY frame from the remote peer.
        Returns:
        true if we received the frame, false otherwise.
      • handlerAdded

        public void handlerAdded​(io.netty.channel.ChannelHandlerContext ctx)
        Specified by:
        handlerAdded in interface io.netty.channel.ChannelHandler
        Overrides:
        handlerAdded in class io.netty.channel.ChannelHandlerAdapter
      • channelActive

        public void channelActive​(io.netty.channel.ChannelHandlerContext ctx)
        Specified by:
        channelActive in interface io.netty.channel.ChannelInboundHandler
        Overrides:
        channelActive in class io.netty.channel.ChannelInboundHandlerAdapter
      • channelRead

        public void channelRead​(io.netty.channel.ChannelHandlerContext ctx,
                                Object msg)
        Specified by:
        channelRead in interface io.netty.channel.ChannelInboundHandler
        Overrides:
        channelRead in class io.netty.channel.ChannelInboundHandlerAdapter
      • isSharable

        public boolean isSharable()
        Always returns false as it keeps state.
        Overrides:
        isSharable in class io.netty.channel.ChannelHandlerAdapter