Interface Attribute
-
- All Superinterfaces:
io.netty.buffer.ByteBufHolder,Comparable<InterfaceHttpData>,HttpData,InterfaceHttpData,io.netty.util.ReferenceCounted
- All Known Implementing Classes:
DiskAttribute,MemoryAttribute,MixedAttribute
public interface Attribute extends HttpData
Attribute interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.handler.codec.http.multipart.InterfaceHttpData
InterfaceHttpData.HttpDataType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attributecopy()Attributeduplicate()StringgetValue()Returns the value of this HttpData.Attributereplace(io.netty.buffer.ByteBuf content)Attributeretain()Attributeretain(int increment)AttributeretainedDuplicate()voidsetValue(String value)Sets the value of this HttpData.Attributetouch()Attributetouch(Object hint)-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface io.netty.handler.codec.http.multipart.HttpData
addContent, checkSize, definedLength, delete, get, getByteBuf, getCharset, getChunk, getFile, getMaxSize, getString, getString, isCompleted, isInMemory, length, renameTo, setCharset, setContent, setContent, setContent, setMaxSize
-
Methods inherited from interface io.netty.handler.codec.http.multipart.InterfaceHttpData
getHttpDataType, getName
-
-
-
-
Method Detail
-
getValue
String getValue() throws IOException
Returns the value of this HttpData.- Throws:
IOException
-
setValue
void setValue(String value) throws IOException
Sets the value of this HttpData.- Throws:
IOException
-
copy
Attribute copy()
-
duplicate
Attribute duplicate()
-
retainedDuplicate
Attribute retainedDuplicate()
- Specified by:
retainedDuplicatein interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainedDuplicatein interfaceHttpData
-
replace
Attribute replace(io.netty.buffer.ByteBuf content)
-
retain
Attribute retain()
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceHttpData- Specified by:
retainin interfaceInterfaceHttpData- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
retain
Attribute retain(int increment)
- Specified by:
retainin interfaceio.netty.buffer.ByteBufHolder- Specified by:
retainin interfaceHttpData- Specified by:
retainin interfaceInterfaceHttpData- Specified by:
retainin interfaceio.netty.util.ReferenceCounted
-
touch
Attribute touch()
- Specified by:
touchin interfaceio.netty.buffer.ByteBufHolder- Specified by:
touchin interfaceHttpData- Specified by:
touchin interfaceInterfaceHttpData- Specified by:
touchin interfaceio.netty.util.ReferenceCounted
-
-