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 classInterfaceHttpData.HttpDataType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InterfaceHttpData.HttpDataTypegetHttpDataType()java.lang.StringgetName()Returns the name of this InterfaceHttpData.InterfaceHttpDataretain()Increases the reference count by1.InterfaceHttpDataretain(int increment)Increases the reference count by the specifiedincrement.InterfaceHttpDatatouch()Records the current access location of this object for debugging purposes.InterfaceHttpDatatouch(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:ReferenceCountedIncreases the reference count by1.- Specified by:
retainin interfaceReferenceCounted
-
retain
InterfaceHttpData retain(int increment)
Description copied from interface:ReferenceCountedIncreases the reference count by the specifiedincrement.- Specified by:
retainin interfaceReferenceCounted
-
touch
InterfaceHttpData touch()
Description copied from interface:ReferenceCountedRecords 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:
touchin interfaceReferenceCounted
-
touch
InterfaceHttpData touch(java.lang.Object hint)
Description copied from interface:ReferenceCountedRecords 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:
touchin interfaceReferenceCounted
-
-