public abstract class DefaultSpdyStreamFrame extends Object implements SpdyStreamFrame
SpdyStreamFrame implementation.| Modifier | Constructor and Description |
|---|---|
protected |
DefaultSpdyStreamFrame(int streamId)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
boolean |
isLast()
Returns
true 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.
|
protected DefaultSpdyStreamFrame(int streamId)
streamId - the Stream-ID of this framepublic int getStreamId()
SpdyStreamFramegetStreamId in interface SpdyStreamFramepublic void setStreamId(int streamId)
SpdyStreamFramesetStreamId in interface SpdyStreamFramepublic boolean isLast()
SpdyStreamFrametrue if this frame is the last frame to be transmitted
on the stream.isLast in interface SpdyStreamFramepublic void setLast(boolean last)
SpdyStreamFramesetLast in interface SpdyStreamFrameCopyright © 2008-2016 The Netty Project. All Rights Reserved.