Interface SpdyDataFrame
-
- All Superinterfaces:
SpdyFrame
,SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdyDataFrame
public interface SpdyDataFrame extends SpdyStreamFrame
A SPDY Protocol DATA Frame
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelBuffer
getData()
Returns the data payload of this frame.void
setData(ChannelBuffer data)
Sets the data payload of this frame.-
Methods inherited from interface org.jboss.netty.handler.codec.spdy.SpdyStreamFrame
getStreamId, isLast, setLast, setStreamId
-
-
-
-
Method Detail
-
getData
ChannelBuffer getData()
Returns the data payload of this frame. If there is no data payloadChannelBuffers.EMPTY_BUFFER
is returned.
-
setData
void setData(ChannelBuffer data)
Sets the data payload of this frame. Ifnull
is specified, the data payload will be set toChannelBuffers.EMPTY_BUFFER
. The data payload cannot exceed 16777215 bytes.
-
-