Class DefaultSpdyGoAwayFrame
java.lang.Object
org.jboss.netty.handler.codec.spdy.DefaultSpdyGoAwayFrame
- All Implemented Interfaces:
SpdyFrame,SpdyGoAwayFrame
The default
SpdyGoAwayFrame implementation.-
Field Summary
Fields -
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.Returns the status of this frame.voidsetLastGoodStreamId(int lastGoodStreamId) Sets the Last-good-stream-ID of this frame.voidsetStatus(SpdySessionStatus status) Sets the status of this frame.toString()
-
Field Details
-
lastGoodStreamId
private int lastGoodStreamId -
status
-
-
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
-
getLastGoodStreamId
public int getLastGoodStreamId()Description copied from interface:SpdyGoAwayFrameReturns the Last-good-stream-ID of this frame.- Specified by:
getLastGoodStreamIdin interfaceSpdyGoAwayFrame
-
setLastGoodStreamId
public void setLastGoodStreamId(int lastGoodStreamId) 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
-
getStatus
Description copied from interface:SpdyGoAwayFrameReturns the status of this frame.- Specified by:
getStatusin interfaceSpdyGoAwayFrame
-
setStatus
Description copied from interface:SpdyGoAwayFrameSets the status of this frame.- Specified by:
setStatusin interfaceSpdyGoAwayFrame
-
toString
-