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, setContentgetHttpDataType, 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 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 ReferenceCountedAttribute retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface HttpDataretain in interface ReferenceCountedCopyright © 2008–2018 The Netty Project. All rights reserved.