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

pack-priv final Class Http2EmptyDataFrameConnectionDecoder

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

Enforce a limit on the maximum number of consecutive empty DATA frames (without end_of_stream flag) that are allowed before the connection will be closed.

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
pack-priv
Http2EmptyDataFrameConnectionDecoder(Http2ConnectionDecoder delegate, int maxConsecutiveEmptyFrames)

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

maxConsecutiveEmptyFramesback to summary
private final int maxConsecutiveEmptyFrames

Constructor Detail

Http2EmptyDataFrameConnectionDecoderback to summary
pack-priv Http2EmptyDataFrameConnectionDecoder(Http2ConnectionDecoder delegate, int maxConsecutiveEmptyFrames)

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()