-
- 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 Buffer
content()
Get the data content associated with this unknown frame.Http2UnknownFrame
copy()
Create a copy of this unknown frame, which in turn contain a copy of the frame contents.Http2Flags
flags()
Get theHttp2Flags
set on this unknown frame.byte
frameType()
Get the raw frame type.Http2FrameStream
stream()
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.Http2UnknownFrame
stream(Http2FrameStream stream)
Set theHttp2FrameStream
object 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:Http2StreamFrame
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.- Specified by:
stream
in interfaceHttp2StreamFrame
-
stream
Http2UnknownFrame stream(Http2FrameStream stream)
Description copied from interface:Http2StreamFrame
Set theHttp2FrameStream
object for this frame.- Specified by:
stream
in 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 theHttp2Flags
set 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.
-
-