public class BodyInputStream extends InputStream
InputStream offering a List<Chunk> as one
single stream.
Used by AbstractBody to offer an efficient way of reading a message's
body.| Constructor and Description |
|---|
BodyInputStream(List<Chunk> chunks) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
protected Chunk |
readNextChunk() |
available, close, mark, markSupported, read, reset, skipprotected Chunk readNextChunk() throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionCopyright © 2019. All Rights Reserved.