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

public Class DefaultSpdyRstStreamFrame

extends DefaultSpdyStreamFrame
implements SpdyRstStreamFrame
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.spdy.SpdyRstStreamFrame, io.netty.handler.codec.spdy.SpdyStreamFrame, io.netty.handler.codec.spdy.SpdyFrame
Imports
io.netty.util.internal.StringUtil

The default SpdyRstStreamFrame implementation.

Field Summary

Modifier and TypeField and Description
private SpdyStreamStatus

Constructor Summary

AccessConstructor and Description
public
DefaultSpdyRstStreamFrame(int
the Stream-ID of this frame
streamId
,
int
the Status code of this frame
statusCode
)

Creates a new instance.

public
DefaultSpdyRstStreamFrame(int
the Stream-ID of this frame
streamId
,
SpdyStreamStatus
the status of this frame
status
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public SpdyRstStreamFrame
public SpdyRstStreamFrame
public SpdyRstStreamFrame
public SpdyStreamStatus
status()

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

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

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from io.netty.handler.codec.spdy.DefaultSpdyStreamFrame:
isLaststreamId

Field Detail

statusback to summary
private SpdyStreamStatus status

Constructor Detail

DefaultSpdyRstStreamFrameback to summary
public DefaultSpdyRstStreamFrame(int streamId, int statusCode)

Creates a new instance.

Parameters
streamId:int

the Stream-ID of this frame

statusCode:int

the Status code of this frame

DefaultSpdyRstStreamFrameback to summary
public DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status)

Creates a new instance.

Parameters
streamId:int

the Stream-ID of this frame

status:SpdyStreamStatus

the status of this frame

Method Detail

setLastback to summary
public SpdyRstStreamFrame setLast(boolean last)

Overrides io.netty.handler.codec.spdy.DefaultSpdyStreamFrame.setLast.

Implements io.netty.handler.codec.spdy.SpdyRstStreamFrame.setLast, io.netty.handler.codec.spdy.SpdyStreamFrame.setLast.

Doc from io.netty.handler.codec.spdy.SpdyStreamFrame.setLast.

Sets if this frame is the last frame to be transmitted on the stream.

Annotations
@Override
setStatusback to summary
public SpdyRstStreamFrame setStatus(SpdyStreamStatus status)

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

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

Sets the status of this frame.

Annotations
@Override
setStreamIdback to summary
public SpdyRstStreamFrame setStreamId(int streamId)

Overrides io.netty.handler.codec.spdy.DefaultSpdyStreamFrame.setStreamId.

Implements io.netty.handler.codec.spdy.SpdyRstStreamFrame.setStreamId, io.netty.handler.codec.spdy.SpdyStreamFrame.setStreamId.

Doc from io.netty.handler.codec.spdy.SpdyStreamFrame.setStreamId.

Sets the Stream-ID of this frame. The Stream-ID must be positive.

Annotations
@Override
statusback to summary
public SpdyStreamStatus status()

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

Doc from io.netty.handler.codec.spdy.SpdyRstStreamFrame.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