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.
|
限定符和类型 | 方法和说明 |
---|---|
SpdyStreamStatus |
getStatus()
Returns the status of this frame.
|
void |
setStatus(SpdyStreamStatus status)
Sets the status of this frame.
|
java.lang.String |
toString() |
getStreamId, isLast, setLast, setStreamId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getStreamId, isLast, setLast, setStreamId
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 SpdyStreamStatus getStatus()
SpdyRstStreamFrame
getStatus
在接口中 SpdyRstStreamFrame
public void setStatus(SpdyStreamStatus status)
SpdyRstStreamFrame
setStatus
在接口中 SpdyRstStreamFrame
public java.lang.String toString()
toString
在类中 java.lang.Object