public class ChunkedInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
ChunkedInputStream(java.io.InputStream in,
Headers headers)
Constructor.
|
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