public interface Attribute extends HttpData
InterfaceHttpData.HttpDataType
限定符和类型 | 方法和说明 |
---|---|
Attribute |
copy()
Create a deep copy of this
ByteBufHolder . |
Attribute |
duplicate()
Duplicate the
ByteBufHolder . |
java.lang.String |
getValue()
Returns the value of this HttpData.
|
Attribute |
retain()
Increases the reference count by
1 . |
Attribute |
retain(int increment)
Increases the reference count by the specified
increment . |
void |
setValue(java.lang.String value)
Sets the value of this HttpData.
|
addContent, delete, get, getByteBuf, getCharset, getChunk, getFile, getString, getString, isCompleted, isInMemory, length, renameTo, setCharset, setContent, setContent, setContent
getHttpDataType, getName
content
refCnt, release, release
java.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
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在接口中 HttpData
Attribute retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 HttpData
retain
在接口中 ReferenceCounted
Attribute retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 HttpData
retain
在接口中 ReferenceCounted