Class Http2GoAwayEventListener

java.lang.Object
io.netty.handler.codec.http2.Http2ConnectionAdapter
software.amazon.awssdk.http.nio.netty.internal.http2.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 Summary

    Constructors
    Constructor
    Description
    Http2GoAwayEventListener(io.netty.channel.Channel parentChannel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onGoAwayReceived(int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData)
     

    Methods inherited from class io.netty.handler.codec.http2.Http2ConnectionAdapter

    onGoAwaySent, onStreamActive, onStreamAdded, onStreamClosed, onStreamHalfClosed, onStreamRemoved

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Http2GoAwayEventListener

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

    • 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