public class DefaultStompContentSubframe extends DefaultByteBufHolder implements StompContentSubframe
StompContentSubframe实现。
| Constructor and Description |
|---|
DefaultStompContentSubframe(ByteBuf content) |
| Modifier and Type | Method and Description |
|---|---|
StompContentSubframe |
copy()
创建此 ByteBufHolder的深层副本。
|
DecoderResult |
decoderResult()
返回解码此对象的结果。
|
StompContentSubframe |
duplicate()
重复此 ByteBufHolder 。
|
StompContentSubframe |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
StompContentSubframe |
retain()
将引用计数增加
1 。
|
StompContentSubframe |
retain(int increment)
通过指定的
increment增加引用计数。
|
StompContentSubframe |
retainedDuplicate()
重复此 ByteBufHolder 。
|
void |
setDecoderResult(DecoderResult decoderResult)
更新解码此对象的结果。
|
java.lang.String |
toString() |
StompContentSubframe |
touch()
记录此对象的当前访问位置以进行调试。
|
StompContentSubframe |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
content, contentToString, equals, hashCode, refCnt, release, releaseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontentrefCnt, release, releasepublic DefaultStompContentSubframe(ByteBuf content)
public StompContentSubframe copy()
DefaultByteBufHolder
ByteBufHolder的深层副本。
此方法默认调用replace(content().copy()) 。
copy在界面
ByteBufHolder
copy在界面
StompContentSubframe
copy在课程
DefaultByteBufHolder
public StompContentSubframe duplicate()
DefaultByteBufHolder
duplicate在界面
ByteBufHolder
duplicate在界面
StompContentSubframe
duplicate在课堂上
DefaultByteBufHolder
public StompContentSubframe retainedDuplicate()
DefaultByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的副本。
此方法默认调用replace(content().retainedDuplicate()) 。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate ,界面
StompContentSubframe
retainedDuplicate在课堂上
DefaultByteBufHolder
ByteBuf.retainedDuplicate()
public StompContentSubframe replace(ByteBuf content)
DefaultByteBufHolder
ByteBufHolder包含指定content 。
重写此方法以返回其内容设置为指定的content的此对象的新实例。 的默认实现DefaultByteBufHolder.copy() , DefaultByteBufHolder.duplicate()和DefaultByteBufHolder.retainedDuplicate()调用此方法来创建一个副本。
replace接口
ByteBufHolder
replace在界面
StompContentSubframe
replace在课堂上
DefaultByteBufHolder
public StompContentSubframe retain()
ReferenceCounted复制的描述
1 。
retain ,界面
ByteBufHolder
retain在界面
StompContentSubframe
retain在界面
ReferenceCounted
retain
DefaultByteBufHolder
public StompContentSubframe retain(int increment)
ReferenceCounted复制的描述
increment增加参考计数。
retain在界面
ByteBufHolder
retain在界面
StompContentSubframe
retain在界面
ReferenceCounted
retain在课堂上
DefaultByteBufHolder
public StompContentSubframe touch()
ReferenceCounted
touch在界面
ByteBufHolder
touch在界面
StompContentSubframe
touch ,界面
ReferenceCounted
touch在课堂上
DefaultByteBufHolder
public StompContentSubframe touch(java.lang.Object hint)
ReferenceCounted复制的描述
ResourceLeakDetector提供给您。
touch在界面
ByteBufHolder
touch在界面
StompContentSubframe
touch在界面
ReferenceCounted
touch在课程
DefaultByteBufHolder
public DecoderResult decoderResult()
DecoderResultProvider复制的描述
decoderResult在界面
DecoderResultProvider
public void setDecoderResult(DecoderResult decoderResult)
DecoderResultProvider
setDecoderResult ,界面
DecoderResultProvider
public java.lang.String toString()
toString在课堂上
DefaultByteBufHolder
Copyright © 2008–2018 The Netty Project. All rights reserved.