Interface SpdyStreamFrame
-
- All Superinterfaces:
SpdyFrame
- All Known Subinterfaces:
SpdyDataFrame
,SpdyHeadersFrame
,SpdyRstStreamFrame
,SpdySynReplyFrame
,SpdySynStreamFrame
- All Known Implementing Classes:
DefaultSpdyDataFrame
,DefaultSpdyHeadersFrame
,DefaultSpdyRstStreamFrame
,DefaultSpdyStreamFrame
,DefaultSpdySynReplyFrame
,DefaultSpdySynStreamFrame
public interface SpdyStreamFrame extends SpdyFrame
A SPDY Protocol Frame that is associated with an individual SPDY Stream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getStreamId()
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 Detail
-
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.
-
-