Package io.netty.handler.codec.spdy
Interface SpdyDataFrame
-
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,io.netty.util.ReferenceCounted,SpdyFrame,SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdyDataFrame
public interface SpdyDataFrame extends io.netty.buffer.ByteBufHolder, SpdyStreamFrame
A SPDY Protocol DATA Frame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.netty.buffer.ByteBufcontent()Returns the data payload of this frame.SpdyDataFramecopy()SpdyDataFrameduplicate()SpdyDataFramereplace(io.netty.buffer.ByteBuf content)SpdyDataFrameretain()SpdyDataFrameretain(int increment)SpdyDataFrameretainedDuplicate()SpdyDataFramesetLast(boolean last)Sets if this frame is the last frame to be transmitted on the stream.SpdyDataFramesetStreamId(int streamID)Sets the Stream-ID of this frame.SpdyDataFrametouch()SpdyDataFrametouch(Object hint)-
Methods inherited from interface io.netty.handler.codec.spdy.SpdyStreamFrame
isLast, streamId
-
-
-
-
Method Detail
-
setStreamId
SpdyDataFrame setStreamId(int streamID)
Description copied from interface:SpdyStreamFrameSets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamIdin interfaceSpdyStreamFrame
-
setLast
SpdyDataFrame setLast(boolean last)
Description copied from interface:SpdyStreamFrameSets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLastin interfaceSpdyStreamFrame
-
content
io.netty.buffer.ByteBuf content()
Returns the data payload of this frame. If there is no data payloadUnpooled.EMPTY_BUFFERis returned. The data payload cannot exceed 16777215 bytes.- Specified by:
contentin interfaceio.netty.buffer.ByteBufHolder
-
copy
SpdyDataFrame copy()
- Specified by:
copyin interfaceio.netty.buffer.ByteBufHolder
-
duplicate
SpdyDataFrame duplicate()
- Specified by:
duplicatein interfaceio.netty.buffer.ByteBufHolder
-
retainedDuplicate
SpdyDataFrame retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder
-
replace
SpdyDataFrame replace(io.netty.buffer.ByteBuf content)
- Specified by:
replacein interfaceio.netty.buffer.ByteBufHolder
-
retain
SpdyDataFrame retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
SpdyDataFrame retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
SpdyDataFrame touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
touch
SpdyDataFrame touch(Object hint)
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-