public interface SpdyDataFrame extends SpdyStreamFrame
限定符和类型 | 方法和说明 |
---|---|
ChannelBuffer |
getData()
Returns the data payload of this frame.
|
void |
setData(ChannelBuffer data)
Sets the data payload of this frame.
|
getStreamId, isLast, setLast, setStreamId
ChannelBuffer getData()
ChannelBuffers.EMPTY_BUFFER
is returned.void setData(ChannelBuffer data)
null
is specified,
the data payload will be set to ChannelBuffers.EMPTY_BUFFER
.
The data payload cannot exceed 16777215 bytes.