SpdyRstStreamFrame implementation.
| Modifier and Type | Field and Description |
|---|---|
| private SpdyStreamStatus |
| Access | Constructor and Description |
|---|---|
| public | DefaultSpdyRstStreamFrame(int
the Stream-ID of this frame streamId, int the Status code of this frame statusCode)Creates a new instance. |
| public | DefaultSpdyRstStreamFrame(int
the Stream-ID of this frame streamId, SpdyStreamStatus the status of this frame status)Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public SpdyRstStreamFrame | setLast(boolean last)
Overrides io. Implements io. |
| public SpdyRstStreamFrame | setStatus(SpdyStreamStatus status)
Implements io. |
| public SpdyRstStreamFrame | setStreamId(int streamId)
Overrides io. Implements io. |
| public SpdyStreamStatus | status()
Implements io. |
| public String |
| status | back to summary |
|---|---|
| private SpdyStreamStatus status | |
| DefaultSpdyRstStreamFrame | back to summary |
|---|---|
| public DefaultSpdyRstStreamFrame(int streamId, int statusCode) Creates a new instance.
| |
| DefaultSpdyRstStreamFrame | back to summary |
|---|---|
| public DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status) Creates a new instance.
| |
| setLast | back to summary |
|---|---|
| public SpdyRstStreamFrame setLast(boolean last) Overrides io. Implements io. Doc from io. Sets if this frame is the last frame to be transmitted on the stream.
| |
| setStatus | back to summary |
|---|---|
| public SpdyRstStreamFrame setStatus(SpdyStreamStatus status) Implements io. Doc from io. Sets the status of this frame.
| |
| setStreamId | back to summary |
|---|---|
| public SpdyRstStreamFrame setStreamId(int streamId) Overrides io. Implements io. Doc from io. Sets the Stream-ID of this frame. The Stream-ID must be positive.
| |
| status | back to summary |
|---|---|
| public SpdyStreamStatus status() Implements io. Doc from io. Returns the status of this frame.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |