Class DefaultSpdyGoAwayFrame
java.lang.Object
io.netty.handler.codec.spdy.DefaultSpdyGoAwayFrame
- All Implemented Interfaces:
SpdyFrame, SpdyGoAwayFrame
The default
SpdyGoAwayFrame implementation.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSpdyGoAwayFrame(int lastGoodStreamId) Creates a new instance.DefaultSpdyGoAwayFrame(int lastGoodStreamId, int statusCode) Creates a new instance.DefaultSpdyGoAwayFrame(int lastGoodStreamId, SpdySessionStatus status) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Last-good-stream-ID of this frame.setLastGoodStreamId(int lastGoodStreamId) Sets the Last-good-stream-ID of this frame.setStatus(SpdySessionStatus status) Sets the status of this frame.status()Returns the status of this frame.toString()
-
Constructor Details
-
DefaultSpdyGoAwayFrame
public DefaultSpdyGoAwayFrame(int lastGoodStreamId) Creates a new instance.- Parameters:
lastGoodStreamId- the Last-good-stream-ID of this frame
-
DefaultSpdyGoAwayFrame
public DefaultSpdyGoAwayFrame(int lastGoodStreamId, int statusCode) Creates a new instance.- Parameters:
lastGoodStreamId- the Last-good-stream-ID of this framestatusCode- the Status code of this frame
-
DefaultSpdyGoAwayFrame
Creates a new instance.- Parameters:
lastGoodStreamId- the Last-good-stream-ID of this framestatus- the status of this frame
-
-
Method Details
-
lastGoodStreamId
public int lastGoodStreamId()Description copied from interface:SpdyGoAwayFrameReturns the Last-good-stream-ID of this frame.- Specified by:
lastGoodStreamIdin interfaceSpdyGoAwayFrame
-
setLastGoodStreamId
Description copied from interface:SpdyGoAwayFrameSets the Last-good-stream-ID of this frame. The Last-good-stream-ID cannot be negative.- Specified by:
setLastGoodStreamIdin interfaceSpdyGoAwayFrame
-
status
Description copied from interface:SpdyGoAwayFrameReturns the status of this frame.- Specified by:
statusin interfaceSpdyGoAwayFrame
-
setStatus
Description copied from interface:SpdyGoAwayFrameSets the status of this frame.- Specified by:
setStatusin interfaceSpdyGoAwayFrame
-
toString
-