Top Description Fields Constructors Methods
io.netty.handler.codec.spdy

public Class DefaultSpdyGoAwayFrame

extends Object
implements SpdyGoAwayFrame
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.spdy.SpdyGoAwayFrame, io.netty.handler.codec.spdy.SpdyFrame
Static Imports
io.netty.util.internal.ObjectUtil.checkPositiveOrZero

The default SpdyGoAwayFrame implementation.

Field Summary

Modifier and TypeField and Description
private int
private SpdySessionStatus

Constructor Summary

AccessConstructor and Description
public
DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame
lastGoodStreamId
)

Creates a new instance.

public
DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame
lastGoodStreamId
,
int
the Status code of this frame
statusCode
)

Creates a new instance.

public
DefaultSpdyGoAwayFrame(int
the Last-good-stream-ID of this frame
lastGoodStreamId
,
SpdySessionStatus
the status of this frame
status
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public int
lastGoodStreamId()

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.lastGoodStreamId.

Returns the Last-good-stream-ID of this frame.
public SpdyGoAwayFrame
setLastGoodStreamId(int lastGoodStreamId)

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.setLastGoodStreamId.

Sets the Last-good-stream-ID of this frame.
public SpdyGoAwayFrame
setStatus(SpdySessionStatus status)

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.setStatus.

Sets the status of this frame.
public SpdySessionStatus
status()

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.status.

Returns the status of this frame.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

lastGoodStreamIdback to summary
private int lastGoodStreamId
statusback to summary
private SpdySessionStatus status

Constructor Detail

DefaultSpdyGoAwayFrameback to summary
public DefaultSpdyGoAwayFrame(int lastGoodStreamId)

Creates a new instance.

Parameters
lastGoodStreamId:int

the Last-good-stream-ID of this frame

DefaultSpdyGoAwayFrameback to summary
public DefaultSpdyGoAwayFrame(int lastGoodStreamId, int statusCode)

Creates a new instance.

Parameters
lastGoodStreamId:int

the Last-good-stream-ID of this frame

statusCode:int

the Status code of this frame

DefaultSpdyGoAwayFrameback to summary
public DefaultSpdyGoAwayFrame(int lastGoodStreamId, SpdySessionStatus status)

Creates a new instance.

Parameters
lastGoodStreamId:int

the Last-good-stream-ID of this frame

status:SpdySessionStatus

the status of this frame

Method Detail

lastGoodStreamIdback to summary
public int lastGoodStreamId()

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.lastGoodStreamId.

Doc from io.netty.handler.codec.spdy.SpdyGoAwayFrame.lastGoodStreamId.

Returns the Last-good-stream-ID of this frame.

Annotations
@Override
setLastGoodStreamIdback to summary
public SpdyGoAwayFrame setLastGoodStreamId(int lastGoodStreamId)

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.setLastGoodStreamId.

Doc from io.netty.handler.codec.spdy.SpdyGoAwayFrame.setLastGoodStreamId.

Sets the Last-good-stream-ID of this frame. The Last-good-stream-ID cannot be negative.

Annotations
@Override
setStatusback to summary
public SpdyGoAwayFrame setStatus(SpdySessionStatus status)

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.setStatus.

Doc from io.netty.handler.codec.spdy.SpdyGoAwayFrame.setStatus.

Sets the status of this frame.

Annotations
@Override
statusback to summary
public SpdySessionStatus status()

Implements io.netty.handler.codec.spdy.SpdyGoAwayFrame.status.

Doc from io.netty.handler.codec.spdy.SpdyGoAwayFrame.status.

Returns the status of this frame.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override