public interface Attribute extends HttpData
InterfaceHttpData.HttpDataType
Modifier and Type | Method and Description |
---|---|
Attribute |
copy()
Create a deep copy of this
ByteBufHolder . |
Attribute |
duplicate()
Duplicate the
ByteBufHolder . |
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(String value)
Sets the value of this HttpData.
|
Attribute |
touch()
Records the current access location of this object for debugging purposes.
|
Attribute |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
addContent, checkSize, delete, get, getByteBuf, getCharset, getChunk, getFile, getMaxSize, getString, getString, isCompleted, isInMemory, length, renameTo, setCharset, setContent, setContent, setContent, setMaxSize
getHttpDataType, getName
compareTo
content
refCnt, release, release
String getValue() throws IOException
IOException
void setValue(String value) throws IOException
IOException
Attribute copy()
ByteBufHolder
ByteBufHolder
.copy
in interface ByteBufHolder
copy
in interface HttpData
Attribute duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
in interface ByteBufHolder
duplicate
in interface HttpData
Attribute retain()
ReferenceCounted
1
.retain
in interface ByteBufHolder
retain
in interface HttpData
retain
in interface InterfaceHttpData
retain
in interface ReferenceCounted
Attribute retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface HttpData
retain
in interface InterfaceHttpData
retain
in interface ReferenceCounted
Attribute touch()
ReferenceCounted
ResourceLeakDetector
. This method is a shortcut to touch(null)
.touch
in interface ByteBufHolder
touch
in interface HttpData
touch
in interface InterfaceHttpData
touch
in interface ReferenceCounted
Attribute touch(Object hint)
ReferenceCounted
ResourceLeakDetector
.touch
in interface ByteBufHolder
touch
in interface HttpData
touch
in interface InterfaceHttpData
touch
in interface ReferenceCounted
Copyright © 2008–2015 The Netty Project. All rights reserved.