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
@SdkInternalApi
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonGoAwayReceived(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
-
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:
onGoAwayReceivedin interfaceio.netty.handler.codec.http2.Http2Connection.Listener- Overrides:
onGoAwayReceivedin classio.netty.handler.codec.http2.Http2ConnectionAdapter
-