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
Http2GoAwayFrame
s sent on a connection. This will pass the frame along to the connection's
Http2MultiplexedChannelPool.handleGoAway(Channel, int, GoAwayException)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
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 interfaceio.netty.handler.codec.http2.Http2Connection.Listener
- Overrides:
onGoAwayReceived
in classio.netty.handler.codec.http2.Http2ConnectionAdapter
-