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 |
---|---|
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.
|
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
in interface SpdyRstStreamFrame
setStreamId
in interface SpdyStreamFrame
setStreamId
in class DefaultSpdyStreamFrame
public SpdyRstStreamFrame setLast(boolean last)
SpdyStreamFrame
setLast
in interface SpdyRstStreamFrame
setLast
in interface SpdyStreamFrame
setLast
in class DefaultSpdyStreamFrame
public SpdyStreamStatus status()
SpdyRstStreamFrame
status
in interface SpdyRstStreamFrame
public SpdyRstStreamFrame setStatus(SpdyStreamStatus status)
SpdyRstStreamFrame
setStatus
in interface SpdyRstStreamFrame
Copyright © 2008–2017 The Netty Project. All rights reserved.