| Package | Description |
|---|---|
| org.jboss.netty.handler.codec.http.multipart |
HTTP multipart support.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
HttpPostStandardRequestDecoder.decodeAttribute(java.lang.String s,
java.nio.charset.Charset charset)
Decode component
|
private 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 HttpMessageDecoder |
private InterfaceHttpData |
HttpPostMultipartRequestDecoder.findMultipartDelimiter(java.lang.String delimiter,
HttpPostRequestDecoder.MultiPartStatus dispositionStatus,
HttpPostRequestDecoder.MultiPartStatus closeDelimiterStatus)
Find the next Multipart Delimiter
|
private InterfaceHttpData |
HttpPostMultipartRequestDecoder.findMultipartDisposition()
Find the next Disposition
|
private InterfaceHttpData |
HttpPostMultipartRequestDecoder.getFileUpload(java.lang.String delimiter)
Get the FileUpload (new one or current one)
|
protected static java.lang.String[] |
HttpPostRequestDecoder.getMultipartDataBoundary(java.lang.String contentType)
Check from the request ContentType if this request is a Multipart request.
|
static boolean |
HttpPostRequestDecoder.isMultipart(HttpRequest request)
Check if the given request is a multipart request
|
private void |
HttpPostMultipartRequestDecoder.loadFieldMultipart(java.lang.String delimiter)
Load the field value from a Multipart request
|
private void |
HttpPostMultipartRequestDecoder.loadFieldMultipartStandard(java.lang.String delimiter)
Load the field value from a Multipart request
|
void |
HttpPostMultipartRequestDecoder.offer(HttpChunk chunk) |
void |
HttpPostRequestDecoder.offer(HttpChunk chunk)
Initialized the internals from a new chunk
|
void |
HttpPostStandardRequestDecoder.offer(HttpChunk chunk) |
void |
InterfaceHttpPostRequestDecoder.offer(HttpChunk chunk)
Initialized the internals from a new chunk
|
private void |
HttpPostMultipartRequestDecoder.parseBody()
This method will parse as much as possible data and fill the list and map
|
private void |
HttpPostStandardRequestDecoder.parseBody()
This method will parse as much as possible data and fill the list and map
|
private void |
HttpPostStandardRequestDecoder.parseBodyAttributes()
This method fill the map and list with as much Attribute as possible from Body in
not Multipart mode.
|
private void |
HttpPostStandardRequestDecoder.parseBodyAttributesStandard()
This method fill the map and list with as much Attribute as possible from Body in
not Multipart mode.
|
private void |
HttpPostMultipartRequestDecoder.parseBodyMultipart()
Parse the Body for multipart
|
private void |
HttpPostMultipartRequestDecoder.readFileUploadByteMultipart(java.lang.String delimiter)
Read a FileUpload data as Byte (Binary) and add the bytes directly to the
FileUpload.
|
private void |
HttpPostMultipartRequestDecoder.readFileUploadByteMultipartStandard(java.lang.String delimiter)
Read a FileUpload data as Byte (Binary) and add the bytes directly to the
FileUpload.
|
private void |
HttpPostStandardRequestDecoder.setFinalBuffer(ChannelBuffer buffer) |
private void |
HttpPostMultipartRequestDecoder.setMultipart(java.lang.String contentType)
Set from the request ContentType the multipartDataBoundary and the possible charset.
|
| Constructor and Description |
|---|
HttpPostMultipartRequestDecoder(HttpDataFactory factory,
HttpRequest request) |
HttpPostMultipartRequestDecoder(HttpDataFactory factory,
HttpRequest request,
java.nio.charset.Charset charset) |
HttpPostMultipartRequestDecoder(HttpRequest request) |
HttpPostRequestDecoder(HttpDataFactory factory,
HttpRequest request) |
HttpPostRequestDecoder(HttpDataFactory factory,
HttpRequest request,
java.nio.charset.Charset charset) |
HttpPostRequestDecoder(HttpRequest request) |
HttpPostStandardRequestDecoder(HttpDataFactory factory,
HttpRequest request) |
HttpPostStandardRequestDecoder(HttpDataFactory factory,
HttpRequest request,
java.nio.charset.Charset charset) |
HttpPostStandardRequestDecoder(HttpRequest request) |