-
- All Superinterfaces:
AutoCloseable,Http2Frame,Http2StreamFrame,Resource<Http2UnknownFrame>
- All Known Implementing Classes:
DefaultHttp2UnknownFrame
@UnstableApi public interface Http2UnknownFrame extends Http2StreamFrame, Resource<Http2UnknownFrame>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Buffercontent()Get the data content associated with this unknown frame.Http2UnknownFramecopy()Create a copy of this unknown frame, which in turn contain a copy of the frame contents.Http2Flagsflags()Get theHttp2Flagsset on this unknown frame.byteframeType()Get the raw frame type.Http2FrameStreamstream()Returns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.Http2UnknownFramestream(Http2FrameStream stream)Set theHttp2FrameStreamobject for this frame.-
Methods inherited from interface io.netty5.handler.codec.http2.Http2Frame
name
-
Methods inherited from interface io.netty5.util.Resource
close, isAccessible, send, touch
-
-
-
-
Method Detail
-
content
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:
- The contents of this unknown frame.
-
stream
Http2FrameStream stream()
Description copied from interface:Http2StreamFrameReturns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.- Specified by:
streamin interfaceHttp2StreamFrame
-
stream
Http2UnknownFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrameSet theHttp2FrameStreamobject for this frame.- Specified by:
streamin interfaceHttp2StreamFrame
-
frameType
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:
- The raw frame type.
-
flags
Http2Flags flags()
Get theHttp2Flagsset on this unknown frame.- Returns:
- The flags set on this frame.
-
copy
Http2UnknownFrame copy()
Create a copy of this unknown frame, which in turn contain a copy of the frame contents.- Returns:
- A copy of this unknown frame.
-
-