public interface StompContentSubframe extends ByteBufHolder, StompSubframe
StompSubframeDecoder在StompHeadersSubframe之后的StompContentSubframe之后会生成StompContentSubframe , 此时内容很大或内容的编码被“分块”。
如果你不希望收到多个StompSubframe处理单一StompFrame ,放置StompSubframeAggregator后StompSubframeDecoder在ChannelPipeline 。
| Modifier and Type | Method and Description |
|---|---|
StompContentSubframe |
copy()
创建此 ByteBufHolder的深层副本。
|
StompContentSubframe |
duplicate()
重复此 ByteBufHolder 。
|
StompContentSubframe |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
StompContentSubframe |
retain()
将引用计数增加
1 。
|
StompContentSubframe |
retain(int increment)
通过指定的
increment增加引用计数。
|
StompContentSubframe |
retainedDuplicate()
重复此 ByteBufHolder 。
|
StompContentSubframe |
touch()
记录此对象的当前访问位置以进行调试。
|
StompContentSubframe |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
contentrefCnt, release, releasedecoderResult, setDecoderResultStompContentSubframe copy()
ByteBufHolder复制的描述
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
StompContentSubframe duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate在界面
ByteBufHolder
StompContentSubframe retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
retainedDuplicate在界面
ByteBufHolder
ByteBuf.retainedDuplicate()
StompContentSubframe replace(ByteBuf content)
ByteBufHolder复制的描述
ByteBufHolder包含指定content 。
replace ,界面
ByteBufHolder
StompContentSubframe retain()
ReferenceCounted
1 。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
StompContentSubframe retain(int increment)
ReferenceCounted复制的描述
increment增加参考计数。
retain在界面
ByteBufHolder
retain在界面
ReferenceCounted
StompContentSubframe touch()
ReferenceCounted复制的描述
touch在界面
ByteBufHolder
touch在界面
ReferenceCounted
StompContentSubframe touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch ,界面
ReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.