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.FilterInputStream
java.io.IOException
public int read(byte[] buffer) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] buffer, int offset, int length) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException