Interface InterfaceHttpData
-
- All Superinterfaces:
java.lang.Comparable<InterfaceHttpData>
,ReferenceCounted
- All Known Subinterfaces:
Attribute
,FileUpload
,HttpData
- All Known Implementing Classes:
AbstractDiskHttpData
,AbstractHttpData
,AbstractMemoryHttpData
,DiskAttribute
,DiskFileUpload
,MemoryAttribute
,MemoryFileUpload
,MixedAttribute
,MixedFileUpload
public interface InterfaceHttpData extends java.lang.Comparable<InterfaceHttpData>, ReferenceCounted
Interface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/Decoder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
InterfaceHttpData.HttpDataType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterfaceHttpData.HttpDataType
getHttpDataType()
java.lang.String
getName()
Returns the name of this InterfaceHttpData.InterfaceHttpData
retain()
Increases the reference count by1
.InterfaceHttpData
retain(int increment)
Increases the reference count by the specifiedincrement
.InterfaceHttpData
touch()
Records the current access location of this object for debugging purposes.InterfaceHttpData
touch(java.lang.Object hint)
Records the current access location of this object with an additional arbitrary information for debugging purposes.-
Methods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of this InterfaceHttpData.
-
getHttpDataType
InterfaceHttpData.HttpDataType getHttpDataType()
- Returns:
- The HttpDataType
-
retain
InterfaceHttpData retain()
Description copied from interface:ReferenceCounted
Increases the reference count by1
.- Specified by:
retain
in interfaceReferenceCounted
-
retain
InterfaceHttpData retain(int increment)
Description copied from interface:ReferenceCounted
Increases the reference count by the specifiedincrement
.- Specified by:
retain
in interfaceReferenceCounted
-
touch
InterfaceHttpData touch()
Description copied from interface:ReferenceCounted
Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector
. This method is a shortcut totouch(null)
.- Specified by:
touch
in interfaceReferenceCounted
-
touch
InterfaceHttpData touch(java.lang.Object hint)
Description copied from interface:ReferenceCounted
Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you viaResourceLeakDetector
.- Specified by:
touch
in interfaceReferenceCounted
-
-