public class ChunkedInputStream
extends java.io.FilterInputStream
| Constructor and Description |
|---|
ChunkedInputStream(java.io.InputStream in,
Headers headers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int length) |
public ChunkedInputStream(java.io.InputStream in,
Headers headers)
in - the response socket input streamheaders - the headers to receive additional header linespublic int read()
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] buffer)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOException