-
- All Superinterfaces:
Http2Frame
- All Known Subinterfaces:
Http2DataFrame
,Http2HeadersFrame
,Http2PriorityFrame
,Http2PushPromiseFrame
,Http2ResetFrame
,Http2UnknownFrame
,Http2WindowUpdateFrame
- All Known Implementing Classes:
AbstractHttp2StreamFrame
,DefaultHttp2DataFrame
,DefaultHttp2HeadersFrame
,DefaultHttp2PriorityFrame
,DefaultHttp2PushPromiseFrame
,DefaultHttp2ResetFrame
,DefaultHttp2UnknownFrame
,DefaultHttp2WindowUpdateFrame
@UnstableApi public interface Http2StreamFrame extends Http2Frame
A frame whose meaning may apply to a particular stream, instead of the entire connection. It is still possible for this frame type to apply to the entire connection. In such cases, thestream()
must returnnull
. If the frame applies to a stream, theHttp2FrameStream.id()
must be greater than zero.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Http2FrameStream
stream()
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.Http2StreamFrame
stream(Http2FrameStream stream)
Set theHttp2FrameStream
object for this frame.-
Methods inherited from interface io.netty5.handler.codec.http2.Http2Frame
name
-
-
-
-
Method Detail
-
stream
Http2StreamFrame stream(Http2FrameStream stream)
Set theHttp2FrameStream
object for this frame.
-
stream
Http2FrameStream stream()
Returns theHttp2FrameStream
object for this frame, ornull
if the frame has yet to be associated with a stream.
-
-