Interface InterfaceHttpData
- All Superinterfaces:
Comparable<InterfaceHttpData>
,ReferenceCounted
- All Known Subinterfaces:
Attribute
,FileUpload
,HttpData
- All Known Implementing Classes:
AbstractDiskHttpData
,AbstractHttpData
,AbstractMemoryHttpData
,AbstractMixedHttpData
,DiskAttribute
,DiskFileUpload
,InternalAttribute
,MemoryAttribute
,MemoryFileUpload
,MixedAttribute
,MixedFileUpload
Interface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/Decoder
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this InterfaceHttpData.retain()
Increases the reference count by1
.retain
(int increment) Increases the reference count by the specifiedincrement
.touch()
Records the current access location of this object for debugging purposes.Records the current access location of this object with an additional arbitrary information for debugging purposes.Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface io.netty.util.ReferenceCounted
refCnt, release, release
-
Method Details
-
getName
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
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
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
-