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, setMaxSizegetHttpDataType, getNamecompareTocontentrefCnt, release, releaseString getValue() throws IOException
IOExceptionvoid setValue(String value) throws IOException
IOExceptionAttribute copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in interface HttpDataAttribute duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in interface HttpDataAttribute retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface HttpDataretain in interface InterfaceHttpDataretain in interface ReferenceCountedAttribute retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface HttpDataretain in interface InterfaceHttpDataretain in interface ReferenceCountedAttribute touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface HttpDatatouch in interface InterfaceHttpDatatouch in interface ReferenceCountedAttribute touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface HttpDatatouch in interface InterfaceHttpDatatouch in interface ReferenceCountedCopyright © 2008–2015 The Netty Project. All rights reserved.