public interface SpdyDataFrame extends ByteBufHolder, SpdyStreamFrame
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
content()
Returns the data payload of this frame.
|
SpdyDataFrame |
copy()
Create a deep copy of this
ByteBufHolder . |
SpdyDataFrame |
duplicate()
Duplicate the
ByteBufHolder . |
SpdyDataFrame |
retain()
Increases the reference count by
1 . |
SpdyDataFrame |
retain(int increment)
Increases the reference count by the specified
increment . |
SpdyDataFrame |
setLast(boolean last)
Sets if this frame is the last frame to be transmitted on the stream.
|
SpdyDataFrame |
setStreamId(int streamID)
Sets the Stream-ID of this frame.
|
refCnt, release, release
isLast, streamId
SpdyDataFrame setStreamId(int streamID)
SpdyStreamFrame
setStreamId
在接口中 SpdyStreamFrame
SpdyDataFrame setLast(boolean last)
SpdyStreamFrame
setLast
在接口中 SpdyStreamFrame
ByteBuf content()
Unpooled.EMPTY_BUFFER
is returned.
The data payload cannot exceed 16777215 bytes.content
在接口中 ByteBufHolder
SpdyDataFrame copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
SpdyDataFrame duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
SpdyDataFrame retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
SpdyDataFrame retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted