public interface SpdyDataFrame
Modifier and Type | Method and Description |
---|---|
ChannelBuffer |
getData()
Returns the data payload of this frame.
|
int |
getStreamId()
Returns the Stream-ID of this frame.
|
int |
getStreamID()
Deprecated.
Use
getStreamId() instead. |
boolean |
isCompressed()
Deprecated.
Removed from SPDY specification.
|
boolean |
isLast()
Returns
true if this frame is the last frame to be transmitted
on the stream. |
void |
setCompressed(boolean compressed)
Deprecated.
Removed from SPDY specification.
|
void |
setData(ChannelBuffer 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.
|
void |
setStreamID(int streamID)
Deprecated.
Use
setStreamId(int) instead. |
@Deprecated int getStreamID()
getStreamId()
instead.int getStreamId()
@Deprecated void setStreamID(int streamID)
setStreamId(int)
instead.void setStreamId(int streamID)
boolean isLast()
true
if this frame is the last frame to be transmitted
on the stream.void setLast(boolean last)
@Deprecated boolean isCompressed()
@Deprecated void setCompressed(boolean compressed)
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.Copyright © 2008-2013 The Netty Project. All Rights Reserved.