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 Attribute
copy()
Attribute
duplicate()
String
getValue()
Returns the value of this HttpData.Attribute
replace(io.netty.buffer.ByteBuf content)
Attribute
retain()
Attribute
retain(int increment)
Attribute
retainedDuplicate()
void
setValue(String value)
Sets the value of this HttpData.Attribute
touch()
Attribute
touch(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:
retainedDuplicate
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retainedDuplicate
in interfaceHttpData
-
replace
Attribute replace(io.netty.buffer.ByteBuf content)
-
retain
Attribute retain()
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceHttpData
- Specified by:
retain
in interfaceInterfaceHttpData
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
retain
Attribute retain(int increment)
- Specified by:
retain
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
retain
in interfaceHttpData
- Specified by:
retain
in interfaceInterfaceHttpData
- Specified by:
retain
in interfaceio.netty.util.ReferenceCounted
-
touch
Attribute touch()
- Specified by:
touch
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
touch
in interfaceHttpData
- Specified by:
touch
in interfaceInterfaceHttpData
- Specified by:
touch
in interfaceio.netty.util.ReferenceCounted
-
-