public interface SpdyDataFrame extends ByteBufHolder, SpdyStreamFrame
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
返回此帧的数据有效载荷。
|
SpdyDataFrame |
copy()
创建此 ByteBufHolder的深层副本。
|
SpdyDataFrame |
duplicate()
重复此 ByteBufHolder 。
|
SpdyDataFrame |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
SpdyDataFrame |
retain()
将参考计数增加
1 。
|
SpdyDataFrame |
retain(int increment)
通过指定的
increment增加引用计数。
|
SpdyDataFrame |
retainedDuplicate()
重复此 ByteBufHolder 。
|
SpdyDataFrame |
setLast(boolean last)
设置该帧是否是流中要传输的最后一帧。
|
SpdyDataFrame |
setStreamId(int streamID)
设置此帧的Stream-ID。
|
SpdyDataFrame |
touch()
记录此对象的当前访问位置以进行调试。
|
SpdyDataFrame |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
refCnt, release, releaseisLast, streamIdSpdyDataFrame setStreamId(int streamID)
SpdyStreamFrame
setStreamId在界面
SpdyStreamFrame
SpdyDataFrame setLast(boolean last)
SpdyStreamFrame复制的描述
setLast在界面
SpdyStreamFrame
ByteBuf content()
content ,界面
ByteBufHolder
SpdyDataFrame copy()
ByteBufHolder
ByteBufHolder的深层副本。
copy ,界面
ByteBufHolder
SpdyDataFrame duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
SpdyDataFrame retainedDuplicate()
ByteBufHolder复制的描述
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate在界面
ByteBufHolder
ByteBuf.retainedDuplicate()
SpdyDataFrame replace(ByteBuf content)
ByteBufHolder复制的描述
ByteBufHolder包含指定content 。
replace在界面
ByteBufHolder
SpdyDataFrame retain()
ReferenceCounted
1 。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
SpdyDataFrame retain(int increment)
ReferenceCounted复制的描述
increment增加参考计数。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
SpdyDataFrame touch()
ReferenceCounted
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
SpdyDataFrame touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.