public class DefaultSpdyRstStreamFrame extends Object 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 getStatus of this frame.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
SpdyRstStreamFrame |
setStatus(SpdyStreamStatus status)
Sets the getStatus of this frame.
|
SpdyRstStreamFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
String |
toString() |
public 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 getStatus of this framepublic int getStreamId()
SpdyRstStreamFramegetStreamId in interface SpdyRstStreamFramepublic SpdyRstStreamFrame setStreamId(int streamId)
SpdyRstStreamFramesetStreamId in interface SpdyRstStreamFramepublic SpdyStreamStatus getStatus()
SpdyRstStreamFramegetStatus in interface SpdyRstStreamFramepublic SpdyRstStreamFrame setStatus(SpdyStreamStatus status)
SpdyRstStreamFramesetStatus in interface SpdyRstStreamFrameCopyright © 2008-2013 The Netty Project. All Rights Reserved.