- <init>
Constructs a MultipartStream with a default size buffer.
- readBodyData
Reads body-data from the currentencapsulation and writes its contents into the
output Stream.
Arbit
- readBoundary
Skips a boundary token, and checks whether moreencapsulations are contained in
the stream.
- readHeaders
Reads the header-part of the currentencapsulation.
Headers are returned verbatim to the input strea
- skipPreamble
Finds the beginning of the first encapsulation.
- arrayequals
Compares count first bytes in the arraysa and b.
- discardBodyData
Reads body-data from the currentencapsulation and discards it.
Use this method to skip encapsulati
- findSeparator
Searches for the boundary in the buffer region delimited by head and tail.
- readByte
Reads a byte from the buffer, and refills it as necessary.
- setBoundary
Changes the boundary token used for partitioning the stream.
This method allows single pass process
- setHeaderEncoding
Specifies the character encoding to be used when reading the headers of
individual parts. When not s
- findByte
Searches for a byte of specified value in the buffer, starting at the specified
position.