Interface SpdyDataFrame
- All Superinterfaces:
SpdyFrame
,SpdyStreamFrame
- All Known Implementing Classes:
DefaultSpdyDataFrame
A SPDY Protocol DATA Frame
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
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 Details
-
getData
ChannelBuffer getData()Returns the data payload of this frame. If there is no data payloadChannelBuffers.EMPTY_BUFFER
is returned. -
setData
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.
-