public interface SpdyDataFrame extends ByteBufHolder, SpdyStreamFrame
| 限定符和类型 | 方法和说明 |
|---|---|
ByteBuf |
content()
Returns the data payload of this frame.
|
SpdyDataFrame |
copy()
Creates a deep copy of this
ByteBufHolder. |
SpdyDataFrame |
duplicate()
Duplicates this
ByteBufHolder. |
SpdyDataFrame |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
SpdyDataFrame |
retain()
Increases the reference count by
1. |
SpdyDataFrame |
retain(int increment)
Increases the reference count by the specified
increment. |
SpdyDataFrame |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
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.
|
SpdyDataFrame |
touch()
Records the current access location of this object for debugging purposes.
|
SpdyDataFrame |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
refCnt, release, releaseisLast, streamIdSpdyDataFrame setStreamId(int streamID)
SpdyStreamFramesetStreamId 在接口中 SpdyStreamFrameSpdyDataFrame setLast(boolean last)
SpdyStreamFramesetLast 在接口中 SpdyStreamFrameByteBuf content()
Unpooled.EMPTY_BUFFER is returned.
The data payload cannot exceed 16777215 bytes.content 在接口中 ByteBufHolderSpdyDataFrame copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHolderSpdyDataFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderSpdyDataFrame retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderByteBuf.retainedDuplicate()SpdyDataFrame replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderSpdyDataFrame retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedSpdyDataFrame retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 ReferenceCountedSpdyDataFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCountedSpdyDataFrame touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 ReferenceCounted