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 ChannelBuffergetData()Returns the data payload of this frame.voidsetData(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_BUFFERis returned.
-
setData
void setData(ChannelBuffer data)
Sets the data payload of this frame. Ifnullis specified, the data payload will be set toChannelBuffers.EMPTY_BUFFER. The data payload cannot exceed 16777215 bytes.
-
-