public interface SpdyDataFrame extends ByteBufHolder, SpdyStreamFrame
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
Returns the data payload of this frame.
|
SpdyDataFrame |
copy()
Create a deep copy of this
ByteBufHolder. |
SpdyDataFrame |
duplicate()
Duplicate the
ByteBufHolder. |
SpdyDataFrame |
retain()
Increases the reference count by
1. |
SpdyDataFrame |
retain(int increment)
Increases the reference count by the specified
increment. |
SpdyDataFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyDataFrame |
setStreamId(int streamID)
Sets the Stream-ID of this frame.
|
SpdyDataFrame |
touch()
Records the current access location of this object for debugging purposes.
|
SpdyDataFrame |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
refCnt, release, releaseisLast, streamIdSpdyDataFrame setStreamId(int streamID)
SpdyStreamFramesetStreamId in interface SpdyStreamFrameSpdyDataFrame setLast(boolean last)
SpdyStreamFramesetLast in interface SpdyStreamFrameByteBuf content()
Unpooled.EMPTY_BUFFER is returned.
The data payload cannot exceed 16777215 bytes.content in interface ByteBufHolderSpdyDataFrame copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHolderSpdyDataFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderSpdyDataFrame retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedSpdyDataFrame retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedSpdyDataFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedSpdyDataFrame touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedCopyright © 2008–2015 The Netty Project. All rights reserved.