public class DefaultSpdyRstStreamFrame extends DefaultSpdyStreamFrame implements SpdyRstStreamFrame
SpdyRstStreamFrame implementation.| 构造器和说明 |
|---|
DefaultSpdyRstStreamFrame(int streamId,
int statusCode)
Creates a new instance.
|
DefaultSpdyRstStreamFrame(int streamId,
SpdyStreamStatus status)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SpdyRstStreamFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyRstStreamFrame |
setStatus(SpdyStreamStatus status)
Sets the status of this frame.
|
SpdyRstStreamFrame |
setStreamId(int streamId)
Sets the Stream-ID of this frame.
|
SpdyStreamStatus |
status()
Returns the status of this frame.
|
java.lang.String |
toString() |
isLast, streamIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisLast, streamIdpublic 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 SpdyRstStreamFrame setStreamId(int streamId)
SpdyStreamFramesetStreamId 在接口中 SpdyRstStreamFramesetStreamId 在接口中 SpdyStreamFramesetStreamId 在类中 DefaultSpdyStreamFramepublic SpdyRstStreamFrame setLast(boolean last)
SpdyStreamFramesetLast 在接口中 SpdyRstStreamFramesetLast 在接口中 SpdyStreamFramesetLast 在类中 DefaultSpdyStreamFramepublic SpdyStreamStatus status()
SpdyRstStreamFramestatus 在接口中 SpdyRstStreamFramepublic SpdyRstStreamFrame setStatus(SpdyStreamStatus status)
SpdyRstStreamFramesetStatus 在接口中 SpdyRstStreamFramepublic java.lang.String toString()
toString 在类中 java.lang.Object