
public class DefaultSpdyRstStreamFrame extends DefaultSpdyStreamFrame implements SpdyRstStreamFrame
SpdyRstStreamFrame implementation.| Constructor and Description |
|---|
DefaultSpdyRstStreamFrame(int streamId,
int statusCode)
Creates a new instance.
|
DefaultSpdyRstStreamFrame(int streamId,
SpdyStreamStatus status)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
SpdyStreamStatus |
getStatus()
Returns the status of this frame.
|
void |
setStatus(SpdyStreamStatus status)
Sets the status of this frame.
|
String |
toString() |
getStreamId, isLast, setLast, setStreamIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetStreamId, isLast, setLast, setStreamIdpublic DefaultSpdyRstStreamFrame(int streamId,
int statusCode)
streamId - the Stream-ID of this framestatusCode - the Status code of this framepublic DefaultSpdyRstStreamFrame(int streamId,
SpdyStreamStatus status)
streamId - the Stream-ID of this framestatus - the status of this framepublic SpdyStreamStatus getStatus()
SpdyRstStreamFramegetStatus in interface SpdyRstStreamFramepublic void setStatus(SpdyStreamStatus status)
SpdyRstStreamFramesetStatus in interface SpdyRstStreamFrameCopyright © 2008-2014 The Netty Project. All Rights Reserved.