public interface Attribute extends HttpData
InterfaceHttpData.HttpDataType| Modifier and Type | Method and Description |
|---|---|
Attribute |
copy()
创建此 ByteBufHolder的深层副本。
|
Attribute |
duplicate()
重复此 ByteBufHolder 。
|
java.lang.String |
getValue()
返回此HttpData的值。
|
Attribute |
replace(ByteBuf content)
返回一个新 ByteBufHolder包含指定content 。
|
Attribute |
retain()
将引用计数增加
1 。
|
Attribute |
retain(int increment)
将参考计数增加
increment 。
|
Attribute |
retainedDuplicate()
重复此 ByteBufHolder 。
|
void |
setValue(java.lang.String value)
设置此HttpData的值。
|
Attribute |
touch()
记录此对象的当前访问位置以进行调试。
|
Attribute |
touch(java.lang.Object hint)
记录此对象的当前访问位置,并附加一些用于调试的任意信息。
|
addContent, checkSize, definedLength, delete, get, getByteBuf, getCharset, getChunk, getFile, getMaxSize, getString, getString, isCompleted, isInMemory, length, renameTo, setCharset, setContent, setContent, setContent, setMaxSizegetHttpDataType, getNamecontentrefCnt, release, releasejava.lang.String getValue()
throws java.io.IOException
java.io.IOException
void setValue(java.lang.String value)
throws java.io.IOException
java.io.IOException
Attribute copy()
ByteBufHolder
ByteBufHolder的深层副本。
copy在界面
ByteBufHolder
copy接口
HttpData
Attribute duplicate()
ByteBufHolder
ByteBufHolder 。
请注意,这不会自动调用ByteBufHolder.retain() 。
duplicate接口
ByteBufHolder
duplicate接口
HttpData
Attribute retainedDuplicate()
ByteBufHolder
ByteBufHolder 。
与ByteBufHolder.duplicate()不同,此方法返回保留的重复。
retainedDuplicate在界面
ByteBufHolder
retainedDuplicate在界面
HttpData
ByteBuf.retainedDuplicate()
Attribute replace(ByteBuf content)
ByteBufHolder
ByteBufHolder包含指定content 。
replace ,界面
ByteBufHolder
replace在界面
HttpData
Attribute retain()
ReferenceCounted
1 。
retain在界面
ByteBufHolder
retain ,界面
HttpData
retain在界面
InterfaceHttpData
retain接口
ReferenceCounted
Attribute retain(int increment)
ReferenceCounted
increment 。
retain ,界面
ByteBufHolder
retain在界面
HttpData
retain在界面
InterfaceHttpData
retain ,界面
ReferenceCounted
Attribute touch()
ReferenceCounted
touch接口
ByteBufHolder
touch在界面
HttpData
touch接口
InterfaceHttpData
touch在界面
ReferenceCounted
Attribute touch(java.lang.Object hint)
ReferenceCounted
ResourceLeakDetector提供给您。
touch ,界面
ByteBufHolder
touch在界面
HttpData
touch ,界面
InterfaceHttpData
touch在界面
ReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.