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
HandlesHttp2GoAwayFrame
s sent on a connection. This will pass the frame along to the connection'sHttp2MultiplexedChannelPool.handleGoAway(Channel, int, GoAwayException)
.
-
-
Constructor Summary
Constructors Constructor Description Http2GoAwayEventListener(io.netty.channel.Channel parentChannel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onGoAwayReceived(int lastStreamId, long errorCode, io.netty.buffer.ByteBuf debugData)
-
-
-
Method Detail
-
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
-
-