Interface Http2StreamFrame
- 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
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, the
stream() must return
null. If the frame applies to a stream, the Http2FrameStream.id() must be greater than zero.-
Method Summary
Modifier and TypeMethodDescriptionstream()Returns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.stream(Http2FrameStream stream) Set theHttp2FrameStreamobject for this frame.Methods inherited from interface Http2Frame
name
-
Method Details
-
stream
Set theHttp2FrameStreamobject for this frame. -
stream
Http2FrameStream stream()Returns theHttp2FrameStreamobject for this frame, ornullif the frame has yet to be associated with a stream.
-