Top Description Inners Methods
io.netty5.handler.codec.http2

public Interface Http2FrameReader

extends Closeable
Known Direct Implementers
io.netty5.handler.codec.http2.Http2InboundFrameLogger, io.netty5.handler.codec.http2.DefaultHttp2FrameReader
Annotations
@UnstableApi
Imports
io.netty5.buffer.Buffer, io.netty5.channel.ChannelHandlerContext, io.netty5.util.internal.UnstableApi, java.io.Closeable

Reads HTTP/2 frames from an input Buffer and notifies the specified Http2FrameListener when frames are complete.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public void
close()

Redeclares java.io.Closeable.close.

Closes this reader and frees any allocated resources.
public Http2FrameReader.Configuration
configuration()

Get the configuration related elements for this Http2FrameReader

public void
readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener)

Attempts to read the next frame from the input buffer.

Method Detail

closeback to summary
public void close()

Redeclares java.io.Closeable.close.

Closes this reader and frees any allocated resources.

Annotations
@Override
configurationback to summary
public Http2FrameReader.Configuration configuration()

Get the configuration related elements for this Http2FrameReader

readFrameback to summary
public void readFrame(ChannelHandlerContext ctx, Buffer input, Http2FrameListener listener) throws Http2Exception

Attempts to read the next frame from the input buffer. If enough data is available to fully read the frame, notifies the listener of the read frame.

io.netty5.handler.codec.http2 back to summary

public Interface Http2FrameReader.Configuration

Known Direct Implementers
io.netty5.handler.codec.http2.DefaultHttp2FrameReader

Configuration specific to Http2FrameReader

Method Summary

Modifier and TypeMethod and Description
public Http2FrameSizePolicy
public Http2HeadersDecoder.Configuration

Method Detail

frameSizePolicyback to summary
public Http2FrameSizePolicy frameSizePolicy()

Get the Http2FrameSizePolicy for this Http2FrameReader

headersConfigurationback to summary
public Http2HeadersDecoder.Configuration headersConfiguration()

Get the Http2HeadersDecoder.Configuration for this Http2FrameReader