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

public abstract Class DefaultSpdyStreamFrame

extends Object
implements SpdyStreamFrame
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.spdy.SpdyStreamFrame, io.netty.handler.codec.spdy.SpdyFrame
Known Direct Subclasses
io.netty.handler.codec.spdy.DefaultSpdyDataFrame, io.netty.handler.codec.spdy.DefaultSpdyHeadersFrame, io.netty.handler.codec.spdy.DefaultSpdyRstStreamFrame
Static Imports
io.netty.util.internal.ObjectUtil.checkPositive

The default SpdyStreamFrame implementation.

Field Summary

Modifier and TypeField and Description
private boolean
private int

Constructor Summary

AccessConstructor and Description
protected
DefaultSpdyStreamFrame(int
the Stream-ID of this frame
streamId
)

Creates a new instance.

Method Summary

Modifier and TypeMethod and Description
public boolean
isLast()

Implements io.netty.handler.codec.spdy.SpdyStreamFrame.isLast.

Returns true if this frame is the last frame to be transmitted on the stream.
public SpdyStreamFrame
setLast(boolean last)

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

Sets if this frame is the last frame to be transmitted on the stream.
public SpdyStreamFrame
setStreamId(int streamId)

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

Sets the Stream-ID of this frame.
public int
streamId()

Implements io.netty.handler.codec.spdy.SpdyStreamFrame.streamId.

Returns the Stream-ID of this frame.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lastback to summary
private boolean last
streamIdback to summary
private int streamId

Constructor Detail

DefaultSpdyStreamFrameback to summary
protected DefaultSpdyStreamFrame(int streamId)

Creates a new instance.

Parameters
streamId:int

the Stream-ID of this frame

Method Detail

isLastback to summary
public boolean isLast()

Implements io.netty.handler.codec.spdy.SpdyStreamFrame.isLast.

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

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

Annotations
@Override
setLastback to summary
public SpdyStreamFrame setLast(boolean last)

Implements 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
setStreamIdback to summary
public SpdyStreamFrame setStreamId(int streamId)

Implements 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
streamIdback to summary
public int streamId()

Implements io.netty.handler.codec.spdy.SpdyStreamFrame.streamId.

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

Returns the Stream-ID of this frame.

Annotations
@Override