Interface SpdyStreamFrame
- All Superinterfaces:
SpdyFrame
- All Known Subinterfaces:
SpdyDataFrame
,SpdyHeadersFrame
,SpdyRstStreamFrame
,SpdySynReplyFrame
,SpdySynStreamFrame
- All Known Implementing Classes:
DefaultSpdyDataFrame
,DefaultSpdyHeadersFrame
,DefaultSpdyRstStreamFrame
,DefaultSpdyStreamFrame
,DefaultSpdySynReplyFrame
,DefaultSpdySynStreamFrame
A SPDY Protocol Frame that is associated with an individual SPDY Stream
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the Stream-ID of this frame.boolean
isLast()
Returnstrue
if this frame is the last frame to be transmitted on the stream.void
setLast
(boolean last) Sets if this frame is the last frame to be transmitted on the stream.void
setStreamId
(int streamId) Sets the Stream-ID of this frame.
-
Method Details
-
getStreamId
int getStreamId()Returns the Stream-ID of this frame. -
setStreamId
void setStreamId(int streamId) Sets the Stream-ID of this frame. The Stream-ID must be positive. -
isLast
boolean isLast()Returnstrue
if this frame is the last frame to be transmitted on the stream. -
setLast
void setLast(boolean last) Sets if this frame is the last frame to be transmitted on the stream.
-