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 . |
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, setContent
getHttpDataType, getName
content
refCnt, release, release
java.lang.String getValue() throws java.io.IOException
java.io.IOException
void setValue(java.lang.String value) throws java.io.IOException
java.io.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 ReferenceCounted
Attribute retain(int increment)
ReferenceCounted
increment
.retain
in interface ByteBufHolder
retain
in interface HttpData
retain
in interface ReferenceCounted
Copyright © 2008–2018 The Netty Project. All rights reserved.