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 void
HttpUploadServerHandler.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 TypeInterfaceDescriptioninterface
Attribute interfaceinterface
FileUpload interface that could be in memory, on temporary file or any other implementations.interface
Extended interface for InterfaceHttpDataClasses in org.jboss.netty.handler.codec.http.multipart that implement InterfaceHttpDataModifier and TypeClassDescriptionclass
Abstract Disk HttpData implementationclass
Abstract HttpData implementationclass
Abstract Memory HttpData implementationclass
Disk implementation of Attributesclass
Disk FileUpload implementation that stores file into real filesclass
This Attribute is only for Encoder use to insert special command between object if needed (like Multipart Mixed mode)class
Memory implementation of Attributesclass
Default FileUpload implementation that stores file into memory.
Warning: be aware of the memory limitation.class
Mixed implementation using both in Memory and in File with a limit of sizeclass
Mixed 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 InterfaceHttpData
HttpPostRequestEncoder.currentData
The 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.bodyListDatas
InterfaceHttpData for Body (without encoding)private final List
<InterfaceHttpData> HttpPostMultipartRequestDecoder.bodyListHttpData
HttpDatas from Bodyprivate final List
<InterfaceHttpData> HttpPostStandardRequestDecoder.bodyListHttpData
HttpDatas from Bodyprivate final Map
<String, List<InterfaceHttpData>> HttpPostMultipartRequestDecoder.bodyMapHttpData
HttpDatas as Map from Bodyprivate final Map
<String, List<InterfaceHttpData>> HttpPostStandardRequestDecoder.bodyMapHttpData
HttpDatas as Map from Bodyprivate ListIterator
<InterfaceHttpData> HttpPostRequestEncoder.iterator
Iterator to be used when encoding will be called chunk after chunk(package private) final List
<InterfaceHttpData> HttpPostRequestEncoder.multipartHttpDatas
The final Multipart List of InterfaceHttpData including encodingMethods in org.jboss.netty.handler.codec.http.multipart that return InterfaceHttpDataModifier and TypeMethodDescriptionprivate InterfaceHttpData
HttpPostMultipartRequestDecoder.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 InterfaceHttpData
HttpPostMultipartRequestDecoder.findMultipartDelimiter
(String delimiter, HttpPostRequestDecoder.MultiPartStatus dispositionStatus, HttpPostRequestDecoder.MultiPartStatus closeDelimiterStatus) Find the next Multipart Delimiterprivate InterfaceHttpData
HttpPostMultipartRequestDecoder.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 InterfaceHttpData
HttpPostMultipartRequestDecoder.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 TypeMethodDescriptionvoid
HttpPostRequestEncoder.addBodyHttpData
(InterfaceHttpData data) Add the InterfaceHttpData to the Body listprivate void
HttpPostMultipartRequestDecoder.addHttpData
(InterfaceHttpData data) Utility function to add a new decoded dataprivate void
HttpPostStandardRequestDecoder.addHttpData
(InterfaceHttpData data) Utility function to add a new decoded dataint
DiskAttribute.compareTo
(InterfaceHttpData o) int
DiskFileUpload.compareTo
(InterfaceHttpData o) int
InternalAttribute.compareTo
(InterfaceHttpData o) int
MemoryAttribute.compareTo
(InterfaceHttpData other) int
MemoryFileUpload.compareTo
(InterfaceHttpData o) int
MixedAttribute.compareTo
(InterfaceHttpData o) int
MixedFileUpload.compareTo
(InterfaceHttpData o) void
DefaultHttpDataFactory.removeHttpDataFromClean
(HttpRequest request, InterfaceHttpData data) void
HttpDataFactory.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)void
HttpPostMultipartRequestDecoder.removeHttpDataFromClean
(InterfaceHttpData data) void
HttpPostRequestDecoder.removeHttpDataFromClean
(InterfaceHttpData data) Remove the given FileUpload from the list of FileUploads to cleanvoid
HttpPostStandardRequestDecoder.removeHttpDataFromClean
(InterfaceHttpData data) void
InterfaceHttpPostRequestDecoder.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 TypeMethodDescriptionvoid
HttpPostRequestEncoder.setBodyHttpDatas
(List<InterfaceHttpData> datas) Set the Body HttpDatas list