public class DefaultSpdyGoAwayFrame extends java.lang.Object implements SpdyGoAwayFrame
SpdyGoAwayFrame implementation.| 构造器和说明 |
|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
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 在接口中 SpdyGoAwayFramepublic SpdyGoAwayFrame setLastGoodStreamId(int lastGoodStreamId)
SpdyGoAwayFramesetLastGoodStreamId 在接口中 SpdyGoAwayFramepublic SpdySessionStatus status()
SpdyGoAwayFramestatus 在接口中 SpdyGoAwayFramepublic SpdyGoAwayFrame setStatus(SpdySessionStatus status)
SpdyGoAwayFramesetStatus 在接口中 SpdyGoAwayFramepublic java.lang.String toString()
toString 在类中 java.lang.Object