public interface Attribute extends HttpData
InterfaceHttpData.HttpDataType| Modifier and Type | Method and Description |
|---|---|
Attribute |
copy()
Creates a deep copy of this
ByteBufHolder. |
Attribute |
duplicate()
Duplicates this
ByteBufHolder. |
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(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 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, 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 retainedDuplicate()
ByteBufHolderByteBufHolder. This method returns a retained duplicate unlike ByteBufHolder.duplicate().retainedDuplicate in interface ByteBufHolderretainedDuplicate in interface HttpDataByteBuf.retainedDuplicate()Attribute replace(ByteBuf content)
ByteBufHolderByteBufHolder which contains the specified content.replace in interface ByteBufHolderreplace 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–2025 The Netty Project. All rights reserved.