Package org.eclipse.jetty.http2
Class IStream.FrameList
java.lang.Object
org.eclipse.jetty.http2.IStream.FrameList
- Enclosing interface:
- IStream
An ordered list of frames belonging to the same stream.
-
Constructor Summary
ConstructorDescriptionFrameList
(HeadersFrame headers) Creates a frame list of just the given HEADERS frame.FrameList
(HeadersFrame headers, DataFrame data, HeadersFrame trailers) Creates a frame list of the given frames. -
Method Summary
-
Constructor Details
-
FrameList
Creates a frame list of just the given HEADERS frame.
- Parameters:
headers
- the HEADERS frame
-
FrameList
Creates a frame list of the given frames.
- Parameters:
headers
- the HEADERS frame for the headersdata
- the DATA frame for the content, or null if there is no contenttrailers
- the HEADERS frame for the trailers, or null if there are no trailers
-
-
Method Details
-
getStreamId
public int getStreamId()- Returns:
- the stream ID of the frames in this list
-
getFrames
- Returns:
- a List of non-null frames
-