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

public Interface SpdyDataFrame

extends ByteBufHolder, SpdyStreamFrame
Known Direct Implementers
io.netty.handler.codec.spdy.DefaultSpdyDataFrame
Imports
io.netty.buffer.ByteBuf, .ByteBufHolder, .Unpooled

A SPDY Protocol DATA Frame

Method Summary

Modifier and TypeMethod and Description
public ByteBuf
content()

Redeclares io.netty.buffer.ByteBufHolder.content.

Returns the data payload of this frame.
public SpdyDataFrame
copy()

Redeclares io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.
public SpdyDataFrame
public SpdyDataFrame
replace(ByteBuf content)

Redeclares io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.
public SpdyDataFrame
retain()

Redeclares io.netty.buffer.ByteBufHolder.retain.

Increases the reference count by 1.
public SpdyDataFrame
retain(int increment)

Redeclares io.netty.buffer.ByteBufHolder.retain.

Increases the reference count by the specified increment.
public SpdyDataFrame
public SpdyDataFrame
setLast(boolean last)

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

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

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

Sets the Stream-ID of this frame.
public SpdyDataFrame
touch()

Redeclares io.netty.buffer.ByteBufHolder.touch.

Records the current access location of this object for debugging purposes.
public SpdyDataFrame
touch(Object hint)

Redeclares io.netty.buffer.ByteBufHolder.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes.
Inherited from io.netty.handler.codec.spdy.SpdyStreamFrame:
isLaststreamId

Method Detail

contentback to summary
public ByteBuf content()

Redeclares io.netty.buffer.ByteBufHolder.content.

Returns the data payload of this frame. If there is no data payload Unpooled#EMPTY_BUFFER is returned. The data payload cannot exceed 16777215 bytes.

Annotations
@Override
copyback to summary
public SpdyDataFrame copy()

Redeclares io.netty.buffer.ByteBufHolder.copy.

Doc from io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public SpdyDataFrame duplicate()

Redeclares io.netty.buffer.ByteBufHolder.duplicate.

Doc from io.netty.buffer.ByteBufHolder.duplicate.

Duplicates this ByteBufHolder. Be aware that this will not automatically call retain().

Annotations
@Override
replaceback to summary
public SpdyDataFrame replace(ByteBuf content)

Redeclares io.netty.buffer.ByteBufHolder.replace.

Doc from io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public SpdyDataFrame retain()

Redeclares io.netty.buffer.ByteBufHolder.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by 1.

Annotations
@Override
retainback to summary
public SpdyDataFrame retain(int increment)

Redeclares io.netty.buffer.ByteBufHolder.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by the specified increment.

Annotations
@Override
retainedDuplicateback to summary
public SpdyDataFrame retainedDuplicate()

Redeclares io.netty.buffer.ByteBufHolder.retainedDuplicate.

Doc from io.netty.buffer.ByteBufHolder.retainedDuplicate.

Duplicates this ByteBufHolder. This method returns a retained duplicate unlike duplicate().

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

Redeclares 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 SpdyDataFrame setStreamId(int streamID)

Redeclares 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
touchback to summary
public SpdyDataFrame touch()

Redeclares io.netty.buffer.ByteBufHolder.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).

Annotations
@Override
touchback to summary
public SpdyDataFrame touch(Object hint)

Redeclares io.netty.buffer.ByteBufHolder.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.

Annotations
@Override