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 |
|---|---|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
SpdyStreamFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyStreamFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
int |
streamId()
Returns the Stream-ID of this frame.
|
protected DefaultSpdyStreamFrame(int streamId)
streamId - the Stream-ID of this framepublic int streamId()
SpdyStreamFramestreamId in interface SpdyStreamFramepublic SpdyStreamFrame 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 SpdyStreamFrame setLast(boolean last)
SpdyStreamFramesetLast in interface SpdyStreamFrameCopyright © 2008–2015 The Netty Project. All rights reserved.