public class DefaultSpdyGoAwayFrame extends java.lang.Object implements SpdyGoAwayFrame
SpdyGoAwayFrame implementation.| Modifier and Type | Field and Description |
|---|---|
private int |
lastGoodStreamId |
private SpdySessionStatus |
status |
| Constructor and Description |
|---|
DefaultSpdyGoAwayFrame(int lastGoodStreamId)
Creates a new instance.
|
DefaultSpdyGoAwayFrame(int lastGoodStreamId,
int statusCode)
Creates a new instance.
|
DefaultSpdyGoAwayFrame(int lastGoodStreamId,
SpdySessionStatus status)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
lastGoodStreamId()
Returns the Last-good-stream-ID of this frame.
|
SpdyGoAwayFrame |
setLastGoodStreamId(int lastGoodStreamId)
Sets the Last-good-stream-ID of this frame.
|
SpdyGoAwayFrame |
setStatus(SpdySessionStatus status)
Sets the status of this frame.
|
SpdySessionStatus |
status()
Returns the status of this frame.
|
java.lang.String |
toString() |
private int lastGoodStreamId
private SpdySessionStatus status
public DefaultSpdyGoAwayFrame(int lastGoodStreamId)
lastGoodStreamId - the Last-good-stream-ID of this framepublic DefaultSpdyGoAwayFrame(int lastGoodStreamId,
int statusCode)
lastGoodStreamId - the Last-good-stream-ID of this framestatusCode - the Status code of this framepublic DefaultSpdyGoAwayFrame(int lastGoodStreamId,
SpdySessionStatus status)
lastGoodStreamId - the Last-good-stream-ID of this framestatus - the status of this framepublic int lastGoodStreamId()
SpdyGoAwayFramelastGoodStreamId in interface SpdyGoAwayFramepublic SpdyGoAwayFrame setLastGoodStreamId(int lastGoodStreamId)
SpdyGoAwayFramesetLastGoodStreamId in interface SpdyGoAwayFramepublic SpdySessionStatus status()
SpdyGoAwayFramestatus in interface SpdyGoAwayFramepublic SpdyGoAwayFrame setStatus(SpdySessionStatus status)
SpdyGoAwayFramesetStatus in interface SpdyGoAwayFramepublic java.lang.String toString()
toString in class java.lang.Object