Top Fields Constructors Methods
io.netty.handler.codec.http2

pack-priv final Class Http2MaxRstFrameListener

extends Http2FrameListenerDecorator
Class Inheritance
Imports
io.netty.channel.ChannelHandlerContext, io.netty.util.internal.logging.InternalLogger, .InternalLoggerFactory, java.util.concurrent.TimeUnit

Field Summary

Modifier and TypeField and Description
private long
private static final InternalLogger
private final int
private final long
private int
private static final Http2Exception
Inherited from io.netty.handler.codec.http2.Http2FrameListenerDecorator:
listener

Constructor Summary

AccessConstructor and Description
pack-priv
Http2MaxRstFrameListener(Http2FrameListener listener, int maxRstFramesPerWindow, int secondsPerWindow)

Method Summary

Modifier and TypeMethod and Description
public void
onRstStreamRead(ChannelHandlerContext
the context from the handler where the frame was read.
ctx
,
int
the stream that is terminating.
streamId
,
long
the error code identifying the type of failure.
errorCode
)

Overrides io.netty.handler.codec.http2.Http2FrameListenerDecorator.onRstStreamRead.

Implements io.netty.handler.codec.http2.Http2FrameListener.onRstStreamRead.

Handles an inbound RST_STREAM frame.
Inherited from io.netty.handler.codec.http2.Http2FrameListenerDecorator:
onDataReadonGoAwayReadonHeadersReadonHeadersReadonPingAckReadonPingReadonPriorityReadonPushPromiseReadonSettingsAckReadonSettingsReadonUnknownFrameonWindowUpdateRead

Field Detail

lastRstFrameNanoback to summary
private long lastRstFrameNano
loggerback to summary
private static final InternalLogger logger
maxRstFramesPerWindowback to summary
private final int maxRstFramesPerWindow
nanosPerWindowback to summary
private final long nanosPerWindow
receivedRstInWindowback to summary
private int receivedRstInWindow
RST_FRAME_RATE_EXCEEDEDback to summary
private static final Http2Exception RST_FRAME_RATE_EXCEEDED

Constructor Detail

Http2MaxRstFrameListenerback to summary
pack-priv Http2MaxRstFrameListener(Http2FrameListener listener, int maxRstFramesPerWindow, int secondsPerWindow)

Method Detail

onRstStreamReadback to summary
public void onRstStreamRead(ChannelHandlerContext ctx, int streamId, long errorCode) throws Http2Exception

Overrides io.netty.handler.codec.http2.Http2FrameListenerDecorator.onRstStreamRead.

Implements io.netty.handler.codec.http2.Http2FrameListener.onRstStreamRead.

Doc from io.netty.handler.codec.http2.Http2FrameListener.onRstStreamRead.

Handles an inbound RST_STREAM frame.

Parameters
ctx:ChannelHandlerContext

the context from the handler where the frame was read.

streamId:int

the stream that is terminating.

errorCode:long

the error code identifying the type of failure.

Annotations
@Override