public interface Attribute extends HttpData
InterfaceHttpData.HttpDataType| 限定符和类型 | 方法和说明 |
|---|---|
Attribute |
copy()
Creates a deep copy of this
ByteBufHolder. |
Attribute |
duplicate()
Duplicates this
ByteBufHolder. |
java.lang.String |
getValue()
Returns the value of this HttpData.
|
Attribute |
replace(ByteBuf content)
Returns a new
ByteBufHolder which contains the specified content. |
Attribute |
retain()
Increases the reference count by
1. |
Attribute |
retain(int increment)
Increases the reference count by the specified
increment. |
Attribute |
retainedDuplicate()
Duplicates this
ByteBufHolder. |
void |
setValue(java.lang.String value)
Sets the value of this HttpData.
|
Attribute |
touch()
Records the current access location of this object for debugging purposes.
|
Attribute |
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging
purposes.
|
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.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 retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate 在接口中 ByteBufHolderretainedDuplicate 在接口中 HttpDataByteBuf.retainedDuplicate()Attribute replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace 在接口中 ByteBufHolderreplace 在接口中 HttpDataAttribute retain()
ReferenceCounted1.retain 在接口中 ByteBufHolderretain 在接口中 HttpDataretain 在接口中 InterfaceHttpDataretain 在接口中 ReferenceCountedAttribute retain(int increment)
ReferenceCountedincrement.retain 在接口中 ByteBufHolderretain 在接口中 HttpDataretain 在接口中 InterfaceHttpDataretain 在接口中 ReferenceCountedAttribute touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch 在接口中 ByteBufHoldertouch 在接口中 HttpDatatouch 在接口中 InterfaceHttpDatatouch 在接口中 ReferenceCountedAttribute touch(java.lang.Object hint)
ReferenceCountedResourceLeakDetector.touch 在接口中 ByteBufHoldertouch 在接口中 HttpDatatouch 在接口中 InterfaceHttpDatatouch 在接口中 ReferenceCounted