Request. In order to
read multipart entry data it's possible to use either getNIOInputStream() or getNIOReader() depends
on whether we want to operate with binary or String data.
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ContentDisposition | |
| private String | |
| private static final String | |
| private static final String | |
| private final Map | |
| private final MultipartEntryNIOInputStream | |
| private boolean | |
| private boolean | isMultipart
Is this entry multipart/mixed |
| private boolean | isMultipartParsed
Have we parsed content-type and figured out whether it's multipart/mixed? |
| private boolean | |
| private final MultipartContext | |
| private final MultipartEntryNIOReader | |
| private NIOInputStream | |
| private int | |
| protected boolean | usingInputStream
Using stream flag. |
| protected boolean | usingReader
Using writer flag. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv int | |
| public ContentDisposition | Returns: the multipart entry content-disposition.Get the multipart entry content-disposition. |
| public String | |
| protected String | |
| public String | |
| public String | |
| public Set | |
| public MultipartContext | |
| public NIOInputStream | |
| public NIOReader | |
| pack-priv int | Returns: the previous (processed) line terminator bytes, which we're not sure about, whether they are part of section boundary or multipart entry contentGet the previous (processed) line terminator bytes, which we're not sure about, whether they are part of section boundary or multipart entry content |
| pack-priv void | |
| pack-priv boolean | |
| public boolean | Returns: true if this is "multipart/*" multipart entry, or false otherwise.Returns true if this is "multipart/*" multipart entry, or false otherwise. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | setReservedBytes(int
the previous (processed) line terminator bytes, which we're not sure about, whether they are
part of section boundary or multipart entry content reservedBytes)Set the previous (processed) line terminator bytes, which we're not sure about, whether they are part of section boundary or multipart entry content |
| public void |
| availableBytes | back to summary |
|---|---|
| private int availableBytes | |
| contentDisposition | back to summary |
|---|---|
| private ContentDisposition contentDisposition | |
| contentType | back to summary |
|---|---|
| private String contentType | |
| DEFAULT_CONTENT_ENCODING | back to summary |
|---|---|
| private static final String DEFAULT_CONTENT_ENCODING | |
| DEFAULT_CONTENT_TYPE | back to summary |
|---|---|
| private static final String DEFAULT_CONTENT_TYPE | |
| headers | back to summary |
|---|---|
| private final Map<String, String> headers | |
| inputStream | back to summary |
|---|---|
| private final MultipartEntryNIOInputStream inputStream | |
| isFinished | back to summary |
|---|---|
| private boolean isFinished | |
| isMultipart | back to summary |
|---|---|
| private boolean isMultipart Is this entry multipart/mixed | |
| isMultipartParsed | back to summary |
|---|---|
| private boolean isMultipartParsed Have we parsed content-type and figured out whether it's multipart/mixed? | |
| isSkipping | back to summary |
|---|---|
| private boolean isSkipping | |
| multipartContext | back to summary |
|---|---|
| private final MultipartContext multipartContext | |
| reader | back to summary |
|---|---|
| private final MultipartEntryNIOReader reader | |
| requestInputStream | back to summary |
|---|---|
| private NIOInputStream requestInputStream | |
| reservedBytes | back to summary |
|---|---|
| private int reservedBytes | |
| usingInputStream | back to summary |
|---|---|
| protected boolean usingInputStream Using stream flag. | |
| usingReader | back to summary |
|---|---|
| protected boolean usingReader Using writer flag. | |
| MultipartEntry | back to summary |
|---|---|
| pack-priv MultipartEntry(final MultipartContext multipartContext) | |
| addAvailableBytes | back to summary |
|---|---|
| pack-priv void addAvailableBytes(final int delta) | |
| availableBytes | back to summary |
|---|---|
| pack-priv int availableBytes() | |
| getContentDisposition | back to summary |
|---|---|
| public ContentDisposition getContentDisposition() Get the multipart entry content-disposition.
| |
| getContentType | back to summary |
|---|---|
| public String getContentType() Get the multipart entry content-type.
| |
| getEncoding | back to summary |
|---|---|
| protected String getEncoding() | |
| getHeader | back to summary |
|---|---|
| public String getHeader(final String name) Get the multipart entry header value. | |
| getHeader | back to summary |
|---|---|
| public String getHeader(final Header header) Get the multipart entry header value. | |
| getHeaderNames | back to summary |
|---|---|
| public Set Get the multipart entry header names. | |
| getMultipartContext | back to summary |
|---|---|
| public MultipartContext getMultipartContext() Get multipart processing context.
| |
| getNIOInputStream | back to summary |
|---|---|
| public NIOInputStream getNIOInputStream() | |
| getNIOReader | back to summary |
|---|---|
| public NIOReader getNIOReader() | |
| getReservedBytes | back to summary |
|---|---|
| pack-priv int getReservedBytes() Get the previous (processed) line terminator bytes, which we're not sure about, whether they are part of section boundary or multipart entry content
| |
| initialize | back to summary |
|---|---|
| pack-priv void initialize(final NIOInputStream parentInputStream) | |
| isFinished | back to summary |
|---|---|
| pack-priv boolean isFinished() | |
| isMultipart | back to summary |
|---|---|
| public boolean isMultipart() Returns true if this is "multipart/*" multipart entry, or false otherwise.
| |
| onDataReceived | back to summary |
|---|---|
pack-priv void onDataReceived() throws Exception
| |
| onFinished | back to summary |
|---|---|
| pack-priv void onFinished() throws Exception | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |
| setContentDisposition | back to summary |
|---|---|
| pack-priv void setContentDisposition(final ContentDisposition contentDisposition) | |
| setContentType | back to summary |
|---|---|
| pack-priv void setContentType(final String contentType) | |
| setHeader | back to summary |
|---|---|
| pack-priv void setHeader(final String name, final String value) | |
| setHeader | back to summary |
|---|---|
pack-priv void setHeader(final Header header, final String value)
| |
| setReservedBytes | back to summary |
|---|---|
| pack-priv void setReservedBytes(int reservedBytes) Set the previous (processed) line terminator bytes, which we're not sure about, whether they are part of section boundary or multipart entry content
| |
| skip | back to summary |
|---|---|
| public void skip() throws IOException Skip the multipart entry processing.
| |