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, streamId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isLast, streamId
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 status of this framepublic SpdyRstStreamFrame setStreamId(int streamId)
SpdyStreamFrame
setStreamId
在接口中 SpdyRstStreamFrame
setStreamId
在接口中 SpdyStreamFrame
setStreamId
在类中 DefaultSpdyStreamFrame
public SpdyRstStreamFrame setLast(boolean last)
SpdyStreamFrame
setLast
在接口中 SpdyRstStreamFrame
setLast
在接口中 SpdyStreamFrame
setLast
在类中 DefaultSpdyStreamFrame
public SpdyStreamStatus status()
SpdyRstStreamFrame
status
在接口中 SpdyRstStreamFrame
public SpdyRstStreamFrame setStatus(SpdyStreamStatus status)
SpdyRstStreamFrame
setStatus
在接口中 SpdyRstStreamFrame
public java.lang.String toString()
toString
在类中 java.lang.Object