Top Methods
io.netty5.handler.codec.http2

public Interface Http2UnknownFrame

extends Http2StreamFrame, Resource<Http2UnknownFrame>
Known Direct Implementers
io.netty5.handler.codec.http2.DefaultHttp2UnknownFrame
Annotations
@UnstableApi
Imports
io.netty5.buffer.Buffer, io.netty5.util.Resource, io.netty5.util.internal.UnstableApi

Method Summary

Modifier and TypeMethod and Description
public Buffer

Returns:

The contents of this unknown frame.
content
()

Get the data content associated with this unknown frame.

public Http2UnknownFrame

Returns:

A copy of this unknown frame.
copy
()

Create a copy of this unknown frame, which in turn contain a copy of the frame contents.

public Http2Flags

Returns:

The flags set on this frame.
flags
()

Get the Http2Flags set on this unknown frame.

public byte

Returns:

The raw frame type.
frameType
()

Get the raw frame type.

public Http2FrameStream
stream()

Redeclares io.netty5.handler.codec.http2.Http2StreamFrame.stream.

Returns the Http2FrameStream object for this frame, or null if the frame has yet to be associated with a stream.
public Http2UnknownFrame
Inherited from io.netty5.util.Resource:
closedisposeisAccessibleisAccessiblesendtouchtouch

Method Detail

contentback to summary
public Buffer content()

Get the data content associated with this unknown frame.

The buffer will be empty if there is no data with this unknown frame.

Returns:Buffer

The contents of this unknown frame.

copyback to summary
public Http2UnknownFrame copy()

Create a copy of this unknown frame, which in turn contain a copy of the frame contents.

Returns:Http2UnknownFrame

A copy of this unknown frame.

flagsback to summary
public Http2Flags flags()

Get the Http2Flags set on this unknown frame.

Returns:Http2Flags

The flags set on this frame.

frameTypeback to summary
public byte frameType()

Get the raw frame type. This is the type value that wasn't recognized and caused this to be captured as an unknown frame.

Returns:byte

The raw frame type.

streamback to summary
public Http2FrameStream stream()

Redeclares io.netty5.handler.codec.http2.Http2StreamFrame.stream.

Doc from io.netty5.handler.codec.http2.Http2StreamFrame.stream.

Returns the Http2FrameStream object for this frame, or null if the frame has yet to be associated with a stream.

Annotations
@Override
streamback to summary
public Http2UnknownFrame stream(Http2FrameStream stream)

Redeclares io.netty5.handler.codec.http2.Http2StreamFrame.stream.

Doc from io.netty5.handler.codec.http2.Http2StreamFrame.stream.

Set the Http2FrameStream object for this frame.

Annotations
@Override