public class DefaultSpdyGoAwayFrame extends Object implements SpdyGoAwayFrame
SpdyGoAwayFrame
implementation.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 |
getLastGoodStreamId()
Returns the Last-good-stream-ID of this frame.
|
int |
getLastGoodStreamID() |
SpdySessionStatus |
getStatus()
Returns the status of this frame.
|
void |
setLastGoodStreamId(int lastGoodStreamId)
Sets the Last-good-stream-ID of this frame.
|
void |
setLastGoodStreamID(int lastGoodStreamId) |
void |
setStatus(SpdySessionStatus status)
Sets the status of this frame.
|
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 getLastGoodStreamID()
getLastGoodStreamID
in interface SpdyGoAwayFrame
public int getLastGoodStreamId()
SpdyGoAwayFrame
getLastGoodStreamId
in interface SpdyGoAwayFrame
public void setLastGoodStreamID(int lastGoodStreamId)
setLastGoodStreamID
in interface SpdyGoAwayFrame
public void setLastGoodStreamId(int lastGoodStreamId)
SpdyGoAwayFrame
setLastGoodStreamId
in interface SpdyGoAwayFrame
public SpdySessionStatus getStatus()
SpdyGoAwayFrame
getStatus
in interface SpdyGoAwayFrame
public void setStatus(SpdySessionStatus status)
SpdyGoAwayFrame
setStatus
in interface SpdyGoAwayFrame
Copyright © 2008-2013 The Netty Project. All Rights Reserved.