@UnstableApi public interface Http2DataFrame extends Http2StreamFrame, ByteBufHolder
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
content()
数据帧的有效载荷。
|
Http2DataFrame |
copy()
创建此 ByteBufHolder的深层副本。
|
Http2DataFrame |
duplicate()
重复此 ByteBufHolder 。
|
int |
initialFlowControlledBytes()
返回是流量控制initialy的字节数,因此即使
content()被消耗,这将不会改变。
|
boolean |
isEndStream()
如果END_STREAM标志未设置,则返回
true 。
|
int |
padding()
使用框架填充。
|
Http2DataFrame |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
Http2DataFrame |
retain()
将引用计数增加
1 。
|
Http2DataFrame |
retain(int increment)
按指定的
increment增加参考计数。
|
Http2DataFrame |
retainedDuplicate()
重复此 ByteBufHolder 。
|
Http2DataFrame |
touch()
记录此对象的当前访问位置以进行调试。
|
Http2DataFrame |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
stream, streamnamerefCnt, release, releaseint padding()
ByteBuf content()
null 。
content ,界面
ByteBufHolder
int initialFlowControlledBytes()
content()被消耗,这将不会改变。
boolean isEndStream()
true 。
Http2DataFrame copy()
ByteBufHolder
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
Http2DataFrame duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
Http2DataFrame retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate在界面
ByteBufHolder
ByteBuf.retainedDuplicate()
Http2DataFrame replace(ByteBuf content)
ByteBufHolder复制的描述
ByteBufHolder包含指定content 。
replace在界面
ByteBufHolder
Http2DataFrame retain()
ReferenceCounted
1 。
retain ,界面
ByteBufHolder
retain接口
ReferenceCounted
Http2DataFrame retain(int increment)
ReferenceCounted
increment增加引用计数。
retain接口
ByteBufHolder
retain ,界面
ReferenceCounted
Http2DataFrame touch()
ReferenceCounted复制的描述
touch接口
ByteBufHolder
touch在界面
ReferenceCounted
Http2DataFrame touch(java.lang.Object hint)
ReferenceCounted复制的描述
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch in interface
ReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.