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.ByteBuf
content()
Returns the data payload of this frame.SpdyDataFrame
copy()
SpdyDataFrame
duplicate()
SpdyDataFrame
replace(io.netty.buffer.ByteBuf content)
SpdyDataFrame
retain()
SpdyDataFrame
retain(int increment)
SpdyDataFrame
retainedDuplicate()
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()
SpdyDataFrame
touch(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:SpdyStreamFrame
Sets the Stream-ID of this frame. The Stream-ID must be positive.- Specified by:
setStreamId
in interfaceSpdyStreamFrame
-
setLast
SpdyDataFrame setLast(boolean last)
Description copied from interface:SpdyStreamFrame
Sets if this frame is the last frame to be transmitted on the stream.- Specified by:
setLast
in interfaceSpdyStreamFrame
-
content
io.netty.buffer.ByteBuf content()
Returns the data payload of this frame. If there is no data payloadUnpooled.EMPTY_BUFFER
is returned. The data payload cannot exceed 16777215 bytes.- Specified by:
content
in interfaceio.netty.buffer.ByteBufHolder
-
copy
SpdyDataFrame copy()
- Specified by:
copy
in interfaceio.netty.buffer.ByteBufHolder
-
duplicate
SpdyDataFrame duplicate()
- Specified by:
duplicate
in interfaceio.netty.buffer.ByteBufHolder
-
retainedDuplicate
SpdyDataFrame retainedDuplicate()
- Specified by:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
-
replace
SpdyDataFrame replace(io.netty.buffer.ByteBuf content)
- Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
-
retain
SpdyDataFrame retain()
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
SpdyDataFrame retain(int increment)
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
SpdyDataFrame touch()
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
touch
SpdyDataFrame touch(Object hint)
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
-