Uses of Interface
org.jboss.netty.handler.codec.http.multipart.InterfaceHttpData
Packages that use InterfaceHttpData
Package
Description
HTTP multipart support.
-
Uses of InterfaceHttpData in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload that return types with arguments of type InterfaceHttpDataModifier and TypeMethodDescriptionprivate static List<InterfaceHttpData> HttpUploadClient.formpost(ClientBootstrap bootstrap, String host, int port, URI uriSimple, File file, HttpDataFactory factory, List<Map.Entry<String, String>> headers) Standard post without multipart but already support on Factory (memory management)Methods in org.jboss.netty.example.http.upload with parameters of type InterfaceHttpDataModifier and TypeMethodDescriptionprivate voidHttpUploadServerHandler.writeHttpData(InterfaceHttpData data) -
Uses of InterfaceHttpData in org.jboss.netty.handler.codec.http.multipart
Subinterfaces of InterfaceHttpData in org.jboss.netty.handler.codec.http.multipartModifier and TypeInterfaceDescriptioninterfaceAttribute interfaceinterfaceFileUpload interface that could be in memory, on temporary file or any other implementations.interfaceExtended interface for InterfaceHttpDataClasses in org.jboss.netty.handler.codec.http.multipart that implement InterfaceHttpDataModifier and TypeClassDescriptionclassAbstract Disk HttpData implementationclassAbstract HttpData implementationclassAbstract Memory HttpData implementationclassDisk implementation of AttributesclassDisk FileUpload implementation that stores file into real filesclassThis Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)classMemory implementation of AttributesclassDefault FileUpload implementation that stores file into memory.
Warning: be aware of the memory limitation.classMixed implementation using both in Memory and in File with a limit of sizeclassMixed implementation using both in Memory and in File with a limit of sizeFields in org.jboss.netty.handler.codec.http.multipart declared as InterfaceHttpDataModifier and TypeFieldDescriptionprivate InterfaceHttpDataHttpPostRequestEncoder.currentDataThe current InterfaceHttpData to encode (used if more chunks are available)Fields in org.jboss.netty.handler.codec.http.multipart with type parameters of type InterfaceHttpDataModifier and TypeFieldDescriptionprivate final List<InterfaceHttpData> HttpPostRequestEncoder.bodyListDatasInterfaceHttpData for Body (without encoding)private final List<InterfaceHttpData> HttpPostMultipartRequestDecoder.bodyListHttpDataHttpDatas from Bodyprivate final List<InterfaceHttpData> HttpPostStandardRequestDecoder.bodyListHttpDataHttpDatas from Bodyprivate final Map<String, List<InterfaceHttpData>> HttpPostMultipartRequestDecoder.bodyMapHttpDataHttpDatas as Map from Bodyprivate final Map<String, List<InterfaceHttpData>> HttpPostStandardRequestDecoder.bodyMapHttpDataHttpDatas as Map from Bodyprivate ListIterator<InterfaceHttpData> HttpPostRequestEncoder.iteratorIterator to be used when encoding will be called chunk after chunk(package private) final List<InterfaceHttpData> HttpPostRequestEncoder.multipartHttpDatasThe final Multipart List of InterfaceHttpData including encodingMethods in org.jboss.netty.handler.codec.http.multipart that return InterfaceHttpDataModifier and TypeMethodDescriptionprivate 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(String delimiter, HttpPostRequestDecoder.MultiPartStatus dispositionStatus, HttpPostRequestDecoder.MultiPartStatus closeDelimiterStatus) Find the next Multipart Delimiterprivate InterfaceHttpDataHttpPostMultipartRequestDecoder.findMultipartDisposition()Find the next DispositionHttpPostMultipartRequestDecoder.getBodyHttpData(String name) HttpPostRequestDecoder.getBodyHttpData(String name) This method returns the first InterfaceHttpData with the given name from body.
If chunked, all chunks must have been offered using offer() method.HttpPostStandardRequestDecoder.getBodyHttpData(String name) InterfaceHttpPostRequestDecoder.getBodyHttpData(String name) This method returns the first InterfaceHttpData with the given name from body.
If chunked, all chunks must have been offered using offer() method.private InterfaceHttpDataHttpPostMultipartRequestDecoder.getFileUpload(String delimiter) Get the FileUpload (new one or current one)HttpPostMultipartRequestDecoder.next()HttpPostRequestDecoder.next()Returns the next available InterfaceHttpData or null if, at the time it is called, there is no more available InterfaceHttpData.HttpPostStandardRequestDecoder.next()InterfaceHttpPostRequestDecoder.next()Returns the next available InterfaceHttpData or null if, at the time it is called, there is no more available InterfaceHttpData.Methods in org.jboss.netty.handler.codec.http.multipart that return types with arguments of type InterfaceHttpDataModifier and TypeMethodDescriptionHttpPostMultipartRequestDecoder.getBodyHttpDatas()HttpPostMultipartRequestDecoder.getBodyHttpDatas(String name) HttpPostRequestDecoder.getBodyHttpDatas()This method returns a List of all HttpDatas from body.
If chunked, all chunks must have been offered using offer() method.HttpPostRequestDecoder.getBodyHttpDatas(String name) This method returns a List of all HttpDatas with the given name from body.
If chunked, all chunks must have been offered using offer() method.HttpPostStandardRequestDecoder.getBodyHttpDatas()HttpPostStandardRequestDecoder.getBodyHttpDatas(String name) InterfaceHttpPostRequestDecoder.getBodyHttpDatas()This method returns a List of all HttpDatas from body.
If chunked, all chunks must have been offered using offer() method.InterfaceHttpPostRequestDecoder.getBodyHttpDatas(String name) This method returns a List of all HttpDatas with the given name from body.
If chunked, all chunks must have been offered using offer() method.HttpPostRequestEncoder.getBodyListAttributes()This method returns a List of all InterfaceHttpData from body part.Methods in org.jboss.netty.handler.codec.http.multipart with parameters of type InterfaceHttpDataModifier and TypeMethodDescriptionvoidHttpPostRequestEncoder.addBodyHttpData(InterfaceHttpData data) Add the InterfaceHttpData to the Body listprivate voidHttpPostMultipartRequestDecoder.addHttpData(InterfaceHttpData data) Utility function to add a new decoded dataprivate 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) voidHttpPostRequestDecoder.removeHttpDataFromClean(InterfaceHttpData data) Remove the given FileUpload from the list of FileUploads to cleanvoidHttpPostStandardRequestDecoder.removeHttpDataFromClean(InterfaceHttpData data) voidInterfaceHttpPostRequestDecoder.removeHttpDataFromClean(InterfaceHttpData data) Remove the given FileUpload from the list of FileUploads to cleanMethod parameters in org.jboss.netty.handler.codec.http.multipart with type arguments of type InterfaceHttpDataModifier and TypeMethodDescriptionvoidHttpPostRequestEncoder.setBodyHttpDatas(List<InterfaceHttpData> datas) Set the Body HttpDatas list