public interface SpdyDataFrame
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getData()
Returns the data payload of this frame.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
void |
setData(io.netty.buffer.ByteBuf data)
Sets the data payload of this frame.
|
void |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
void |
setStreamId(int streamID)
Sets the Stream-ID of this frame.
|
int getStreamId()
void setStreamId(int streamID)
boolean isLast()
true if this frame is the last frame to be transmitted
on the stream.void setLast(boolean last)
io.netty.buffer.ByteBuf getData()
Unpooled.EMPTY_BUFFER is returned.void setData(io.netty.buffer.ByteBuf data)
null is specified,
the data payload will be set to Unpooled.EMPTY_BUFFER.
The data payload cannot exceed 16777215 bytes.Copyright © 2008-2012 The Netty Project. All Rights Reserved.