SpdyGoAwayFrame implementation.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private SpdySessionStatus |
| Access | Constructor and Description |
|---|---|
| public | DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame lastGoodStreamId)Creates a new instance. |
| public | DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame lastGoodStreamId, int the Status code of this frame statusCode)Creates a new instance. |
| public | DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame lastGoodStreamId, SpdySessionStatus the status of this frame status)Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public int | lastGoodStreamId()
Implements io. |
| public SpdyGoAwayFrame | setLastGoodStreamId(int lastGoodStreamId)
Implements io. |
| public SpdyGoAwayFrame | setStatus(SpdySessionStatus status)
Implements io. |
| public SpdySessionStatus | status()
Implements io. |
| public String |
| lastGoodStreamId | back to summary |
|---|---|
| private int lastGoodStreamId | |
| status | back to summary |
|---|---|
| private SpdySessionStatus status | |
| DefaultSpdyGoAwayFrame | back to summary |
|---|---|
| public DefaultSpdyGoAwayFrame(int lastGoodStreamId) Creates a new instance.
| |
| DefaultSpdyGoAwayFrame | back to summary |
|---|---|
| public DefaultSpdyGoAwayFrame(int lastGoodStreamId, int statusCode) Creates a new instance.
| |
| DefaultSpdyGoAwayFrame | back to summary |
|---|---|
| public DefaultSpdyGoAwayFrame(int lastGoodStreamId, SpdySessionStatus status) Creates a new instance.
| |
| lastGoodStreamId | back to summary |
|---|---|
| public int lastGoodStreamId() Implements io. Doc from io. Returns the Last-good-stream-ID of this frame.
| |
| setLastGoodStreamId | back to summary |
|---|---|
| public SpdyGoAwayFrame setLastGoodStreamId(int lastGoodStreamId) Implements io. Doc from io. Sets the Last-good-stream-ID of this frame. The Last-good-stream-ID cannot be negative.
| |
| setStatus | back to summary |
|---|---|
| public SpdyGoAwayFrame setStatus(SpdySessionStatus status) Implements io. Doc from io. Sets the status of this frame.
| |
| status | back to summary |
|---|---|
| public SpdySessionStatus 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. | |