Class Http2GoAwayEventListener

  • All Implemented Interfaces:
    io.netty.handler.codec.http2.Http2Connection.Listener

    public final class Http2GoAwayEventListener
    extends io.netty.handler.codec.http2.Http2ConnectionAdapter
    Handles Http2GoAwayFrames sent on a connection. This will pass the frame along to the connection's Http2MultiplexedChannelPool.handleGoAway(Channel, int, GoAwayException).
    • Constructor Detail

      • Http2GoAwayEventListener

        public Http2GoAwayEventListener​(io.netty.channel.Channel parentChannel)
    • Method Detail

      • onGoAwayReceived

        public void onGoAwayReceived​(int lastStreamId,
                                     long errorCode,
                                     io.netty.buffer.ByteBuf debugData)
        Specified by:
        onGoAwayReceived in interface io.netty.handler.codec.http2.Http2Connection.Listener
        Overrides:
        onGoAwayReceived in class io.netty.handler.codec.http2.Http2ConnectionAdapter