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

pack-priv final Class Http2MaxRstFrameDecoder

extends DecoratingHttp2ConnectionDecoder
Class Inheritance
Static Imports
io.netty.util.internal.ObjectUtil.checkPositive

Enforce a limit on the maximum number of RST frames that are allowed per a window before the connection will be closed with a GO_AWAY frame.

Field Summary

Modifier and TypeField and Description
private final int
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
Http2MaxRstFrameDecoder(Http2ConnectionDecoder delegate, int maxRstFramesPerWindow, int secondsPerWindow)

Method Summary

Modifier and TypeMethod and Description
public void
public Http2FrameListener
pack-priv Http2FrameListener
Inherited from io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder:
closeconnectiondecodeFrameflowControllerlifecycleManagerlocalSettingsprefaceReceived

Field Detail

maxRstFramesPerWindowback to summary
private final int maxRstFramesPerWindow
secondsPerWindowback to summary
private final int secondsPerWindow

Constructor Detail

Http2MaxRstFrameDecoderback to summary
pack-priv Http2MaxRstFrameDecoder(Http2ConnectionDecoder delegate, int maxRstFramesPerWindow, int secondsPerWindow)

Method Detail

frameListenerback to summary
public void frameListener(Http2FrameListener listener)

Overrides io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder.frameListener.

Implements io.netty.handler.codec.http2.Http2ConnectionDecoder.frameListener.

Doc from io.netty.handler.codec.http2.Http2ConnectionDecoder.frameListener.

Set the Http2FrameListener which will be notified when frames are decoded.

This must be set before frames are decoded.

Annotations
@Override
frameListenerback to summary
public Http2FrameListener frameListener()

Overrides io.netty.handler.codec.http2.DecoratingHttp2ConnectionDecoder.frameListener.

Implements io.netty.handler.codec.http2.Http2ConnectionDecoder.frameListener.

Doc from io.netty.handler.codec.http2.Http2ConnectionDecoder.frameListener.

Get the Http2FrameListener which will be notified when frames are decoded.

Annotations
@Override
frameListener0back to summary
pack-priv Http2FrameListener frameListener0()