public class DefaultSpdySynReplyFrame extends DefaultSpdyHeaderBlock implements SpdySynReplyFrame
SpdySynReplyFrame implementation.| Constructor and Description |
|---|
DefaultSpdySynReplyFrame(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. |
SpdySynReplyFrame |
setInvalid()
Marks this header block as invalid.
|
SpdySynReplyFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdySynReplyFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
String |
toString() |
appendHeaders, headers, isInvalidclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitheaders, isInvalidpublic DefaultSpdySynReplyFrame(int streamId)
streamId - the Stream-ID of this framepublic int getStreamId()
SpdyStreamFramegetStreamId in interface SpdyStreamFramepublic SpdySynReplyFrame setStreamId(int streamId)
SpdyStreamFramesetStreamId in interface SpdyStreamFramesetStreamId in interface SpdySynReplyFramepublic boolean isLast()
SpdyStreamFrametrue if this frame is the last frame to be transmitted
on the stream.isLast in interface SpdyStreamFramepublic SpdySynReplyFrame setLast(boolean last)
SpdyStreamFramesetLast in interface SpdyStreamFramesetLast in interface SpdySynReplyFramepublic SpdySynReplyFrame setInvalid()
SpdyHeaderBlocksetInvalid in interface SpdyHeaderBlocksetInvalid in interface SpdySynReplyFramesetInvalid in class DefaultSpdyHeaderBlockCopyright © 2008-2013 The Netty Project. All Rights Reserved.