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, setContentgetHttpDataType, getNamecontentrefCnt, release, releasejava.lang.String getValue()
throws java.io.IOException
java.io.IOExceptionvoid setValue(java.lang.String value)
throws java.io.IOException
java.io.IOExceptionAttribute copy()
ByteBufHolderByteBufHolder.copy 在接口中 ByteBufHoldercopy 在接口中 HttpDataAttribute duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate 在接口中 ByteBufHolderduplicate 在接口中 HttpDataAttribute retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 HttpDataretain 在接口中 ReferenceCountedAttribute retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 HttpDataretain 在接口中 ReferenceCounted