Uses of Interface
io.netty.handler.codec.http.multipart.InterfaceHttpData
-
Packages that use InterfaceHttpData Package Description io.netty.handler.codec.http.multipart HTTP multipart support. -
-
Uses of InterfaceHttpData in io.netty.handler.codec.http.multipart
Subinterfaces of InterfaceHttpData in io.netty.handler.codec.http.multipart Modifier and Type Interface Description interfaceAttributeAttribute interfaceinterfaceFileUploadFileUpload interface that could be in memory, on temporary file or any other implementations.interfaceHttpDataExtended interface for InterfaceHttpDataClasses in io.netty.handler.codec.http.multipart that implement InterfaceHttpData Modifier and Type Class Description classAbstractDiskHttpDataAbstract Disk HttpData implementationclassAbstractHttpDataAbstract HttpData implementationclassAbstractMemoryHttpDataAbstract Memory HttpData implementationclassDiskAttributeDisk implementation of AttributesclassDiskFileUploadDisk FileUpload implementation that stores file into real files(package private) classInternalAttributeThis Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)classMemoryAttributeMemory implementation of AttributesclassMemoryFileUploadDefault FileUpload implementation that stores file into memory.
Warning: be aware of the memory limitation.classMixedAttributeMixed implementation using both in Memory and in File with a limit of sizeclassMixedFileUploadMixed implementation using both in Memory and in File with a limit of sizeFields in io.netty.handler.codec.http.multipart declared as InterfaceHttpData Modifier and Type Field Description private InterfaceHttpDataHttpPostRequestEncoder. currentDataThe current InterfaceHttpData to encode (used if more chunks are available)Fields in io.netty.handler.codec.http.multipart with type parameters of type InterfaceHttpData Modifier and Type Field Description private java.util.List<InterfaceHttpData>HttpPostRequestEncoder. bodyListDatasInterfaceHttpData for Body (without encoding)private java.util.List<InterfaceHttpData>HttpPostMultipartRequestDecoder. bodyListHttpDataHttpDatas from Bodyprivate java.util.List<InterfaceHttpData>HttpPostStandardRequestDecoder. bodyListHttpDataHttpDatas from Bodyprivate java.util.Map<java.lang.String,java.util.List<InterfaceHttpData>>HttpPostMultipartRequestDecoder. bodyMapHttpDataHttpDatas as Map from Bodyprivate java.util.Map<java.lang.String,java.util.List<InterfaceHttpData>>HttpPostStandardRequestDecoder. bodyMapHttpDataHttpDatas as Map from Bodyprivate java.util.ListIterator<InterfaceHttpData>HttpPostRequestEncoder. iteratorIterator to be used when encoding will be called chunk after chunk(package private) java.util.List<InterfaceHttpData>HttpPostRequestEncoder. multipartHttpDatasThe final Multipart List of InterfaceHttpData including encodingMethods in io.netty.handler.codec.http.multipart that return InterfaceHttpData Modifier and Type Method Description InterfaceHttpDataHttpPostMultipartRequestDecoder. currentPartialHttpData()InterfaceHttpDataHttpPostRequestDecoder. currentPartialHttpData()InterfaceHttpDataHttpPostStandardRequestDecoder. currentPartialHttpData()InterfaceHttpDataInterfaceHttpPostRequestDecoder. currentPartialHttpData()Returns the current InterfaceHttpData if currently in decoding status, meaning all data are not yet within, or null if there is no InterfaceHttpData currently in decoding status (either because none yet decoded or none currently partially decoded).private InterfaceHttpDataHttpPostMultipartRequestDecoder. decodeMultipart(HttpPostRequestDecoder.MultiPartStatus state)Decode a multipart request by pieces
NOTSTARTED PREAMBLE (
(HEADERDELIMITER DISPOSITION (FIELD | FILEUPLOAD))*
(HEADERDELIMITER DISPOSITION MIXEDPREAMBLE
(MIXEDDELIMITER MIXEDDISPOSITION MIXEDFILEUPLOAD)+
MIXEDCLOSEDELIMITER)*
CLOSEDELIMITER)+ EPILOGUE
Inspired from HttpMessageDecoderprivate InterfaceHttpDataHttpPostMultipartRequestDecoder. findMultipartDelimiter(java.lang.String delimiter, HttpPostRequestDecoder.MultiPartStatus dispositionStatus, HttpPostRequestDecoder.MultiPartStatus closeDelimiterStatus)Find the next Multipart Delimiterprivate InterfaceHttpDataHttpPostMultipartRequestDecoder. findMultipartDisposition()Find the next DispositionInterfaceHttpDataHttpPostMultipartRequestDecoder. getBodyHttpData(java.lang.String name)This getMethod returns the first InterfaceHttpData with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.InterfaceHttpDataHttpPostRequestDecoder. getBodyHttpData(java.lang.String name)InterfaceHttpDataHttpPostStandardRequestDecoder. getBodyHttpData(java.lang.String name)This getMethod returns the first InterfaceHttpData with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.InterfaceHttpDataInterfaceHttpPostRequestDecoder. getBodyHttpData(java.lang.String name)This getMethod returns the first InterfaceHttpData with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.protected InterfaceHttpDataHttpPostMultipartRequestDecoder. getFileUpload(java.lang.String delimiter)Get the FileUpload (new one or current one)InterfaceHttpDataHttpPostMultipartRequestDecoder. next()Returns the next available InterfaceHttpData or null if, at the time it is called, there is no more available InterfaceHttpData.InterfaceHttpDataHttpPostRequestDecoder. next()InterfaceHttpDataHttpPostStandardRequestDecoder. next()Returns the next available InterfaceHttpData or null if, at the time it is called, there is no more available InterfaceHttpData.InterfaceHttpDataInterfaceHttpPostRequestDecoder. next()Returns the next available InterfaceHttpData or null if, at the time it is called, there is no more available InterfaceHttpData.InterfaceHttpDataInterfaceHttpData. retain()InterfaceHttpDataInterfaceHttpData. retain(int increment)InterfaceHttpDataInternalAttribute. retain()InterfaceHttpDataInternalAttribute. retain(int increment)InterfaceHttpDataInterfaceHttpData. touch()InterfaceHttpDataInterfaceHttpData. touch(java.lang.Object hint)InterfaceHttpDataInternalAttribute. touch()InterfaceHttpDataInternalAttribute. touch(java.lang.Object hint)Methods in io.netty.handler.codec.http.multipart that return types with arguments of type InterfaceHttpData Modifier and Type Method Description java.util.List<InterfaceHttpData>HttpPostMultipartRequestDecoder. getBodyHttpDatas()This getMethod returns a List of all HttpDatas from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>HttpPostMultipartRequestDecoder. getBodyHttpDatas(java.lang.String name)This getMethod returns a List of all HttpDatas with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>HttpPostRequestDecoder. getBodyHttpDatas()java.util.List<InterfaceHttpData>HttpPostRequestDecoder. getBodyHttpDatas(java.lang.String name)java.util.List<InterfaceHttpData>HttpPostStandardRequestDecoder. getBodyHttpDatas()This getMethod returns a List of all HttpDatas from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>HttpPostStandardRequestDecoder. getBodyHttpDatas(java.lang.String name)This getMethod returns a List of all HttpDatas with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>InterfaceHttpPostRequestDecoder. getBodyHttpDatas()This getMethod returns a List of all HttpDatas from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>InterfaceHttpPostRequestDecoder. getBodyHttpDatas(java.lang.String name)This getMethod returns a List of all HttpDatas with the given name from body.
If chunked, all chunks must have been offered using offer() getMethod.java.util.List<InterfaceHttpData>HttpPostRequestEncoder. getBodyListAttributes()This getMethod returns a List of all InterfaceHttpData from body part.Methods in io.netty.handler.codec.http.multipart with parameters of type InterfaceHttpData Modifier and Type Method Description voidHttpPostRequestEncoder. addBodyHttpData(InterfaceHttpData data)Add the InterfaceHttpData to the Body listprotected voidHttpPostMultipartRequestDecoder. addHttpData(InterfaceHttpData data)Utility function to add a new decoded dataprotected voidHttpPostStandardRequestDecoder. addHttpData(InterfaceHttpData data)Utility function to add a new decoded dataintDiskAttribute. compareTo(InterfaceHttpData o)intDiskFileUpload. compareTo(InterfaceHttpData o)intInternalAttribute. compareTo(InterfaceHttpData o)intMemoryAttribute. compareTo(InterfaceHttpData other)intMemoryFileUpload. compareTo(InterfaceHttpData o)intMixedAttribute. compareTo(InterfaceHttpData o)intMixedFileUpload. compareTo(InterfaceHttpData o)voidDefaultHttpDataFactory. removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)voidHttpDataFactory. removeHttpDataFromClean(HttpRequest request, InterfaceHttpData data)Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file is still a temporary one as setup at construction)voidHttpPostMultipartRequestDecoder. removeHttpDataFromClean(InterfaceHttpData data)Remove the given FileUpload from the list of FileUploads to cleanvoidHttpPostRequestDecoder. removeHttpDataFromClean(InterfaceHttpData data)voidHttpPostStandardRequestDecoder. removeHttpDataFromClean(InterfaceHttpData data)Remove the given FileUpload from the list of FileUploads to cleanvoidInterfaceHttpPostRequestDecoder. removeHttpDataFromClean(InterfaceHttpData data)Remove the given FileUpload from the list of FileUploads to cleanMethod parameters in io.netty.handler.codec.http.multipart with type arguments of type InterfaceHttpData Modifier and Type Method Description voidHttpPostRequestEncoder. setBodyHttpDatas(java.util.List<InterfaceHttpData> datas)Set the Body HttpDatas list
-