Namespace class for interrelated classes that provide support for parsing and generating multipart bytes.
Most applications should make use of MultiPartFormData
or MultiPartByteRanges as they provide a simpler API.
Multipart parsing is provided by Parser.
Multipart generation is provided by AbstractContentSource and its subclasses.
A single part of a multipart content is represented by Part
and its subclasses.
MultiPartFormData, MultiPartByteRanges
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | MultiPart.AbstractContentSource
An asynchronous |
| public abstract static class | MultiPart.AbstractPartsListener
A |
| public static class | MultiPart.ByteBufferPart
A |
| public static class | MultiPart.ChunksPart
A |
| public static class | MultiPart.ContentSourcePart
A |
| public static class | MultiPart.Parser
A |
| public abstract static class | MultiPart.Part
A single part of a multipart content. |
| public static class | MultiPart.PathPart
A |
| Modifier and Type | Field and Description |
|---|---|
| private static final QuotedStringTokenizer | |
| private static final Logger | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the value of theboundary parameter, or
null if the boundary parameter is missingthe contentType)Content-Type header valueExtracts the value of the |
| public static String | Returns: a boundary stringa possibly prefix, int null prefixa number of random characters to add after the prefix randomLength)Generates a multipart boundary, made of the given optional prefix string and the given number of random characters. |