Package | Description |
---|---|
org.jboss.netty.handler.codec.http.multipart |
HTTP multipart support.
|
Class and Description |
---|
AbstractDiskHttpData
Abstract Disk HttpData implementation
|
AbstractHttpData
Abstract HttpData implementation
|
AbstractMemoryHttpData
Abstract Memory HttpData implementation
|
Attribute
Attribute interface
|
FileUpload
FileUpload interface that could be in memory, on temporary file or any other implementations.
|
HttpData
Extended interface for InterfaceHttpData
|
HttpDataFactory
Interface to enable creation of InterfaceHttpData objects
|
HttpPostRequestDecoder.EndOfDataDecoderException
Exception when the body is fully decoded, even if there is still data
|
HttpPostRequestDecoder.ErrorDataDecoderException
Exception when an error occurs while decoding
|
HttpPostRequestDecoder.IncompatibleDataDecoderException
Deprecated.
|
HttpPostRequestDecoder.MultiPartStatus
states follow
NOTSTARTED PREAMBLE (
(HEADERDELIMITER DISPOSITION (FIELD | FILEUPLOAD))*
(HEADERDELIMITER DISPOSITION MIXEDPREAMBLE
(MIXEDDELIMITER MIXEDDISPOSITION MIXEDFILEUPLOAD)+
MIXEDCLOSEDELIMITER)*
CLOSEDELIMITER)+ EPILOGUE
First status is: NOSTARTED
Content-type: multipart/form-data, boundary=AaB03x => PREAMBLE in Header
--AaB03x => HEADERDELIMITER
content-disposition: form-data; name="field1" => DISPOSITION
Joe Blow => FIELD
--AaB03x => HEADERDELIMITER
content-disposition: form-data; name="pics" => DISPOSITION
Content-type: multipart/mixed, boundary=BbC04y
--BbC04y => MIXEDDELIMITER
Content-disposition: attachment; filename="file1.txt" => MIXEDDISPOSITION
Content-Type: text/plain
... contents of file1.txt ... => MIXEDFILEUPLOAD
--BbC04y => MIXEDDELIMITER
Content-disposition: file; filename="file2.gif" => MIXEDDISPOSITION
Content-type: image/gif
Content-Transfer-Encoding: binary
...contents of file2.gif... => MIXEDFILEUPLOAD
--BbC04y-- => MIXEDCLOSEDELIMITER
--AaB03x-- => CLOSEDELIMITER
Once CLOSEDELIMITER is found, last status is EPILOGUE
|
HttpPostRequestDecoder.NotEnoughDataDecoderException
Exception when try reading data from request in chunked format, and not enough
data are available (need more chunks)
|
HttpPostRequestEncoder.EncoderMode
Different modes to use to encode form data.
|
HttpPostRequestEncoder.ErrorDataEncoderException
Exception when an error occurs while encoding
|
InterfaceHttpData
Interface for all Objects that could be encoded/decoded using HttpPostRequestEncoder/Decoder
|
InterfaceHttpData.HttpDataType |
InterfaceHttpPostRequestDecoder |
InternalAttribute
This Attribute is only for Encoder use to insert special command between object if needed
(like Multipart Mixed mode)
|
Copyright © 2008-2015 The Netty Project. All Rights Reserved.