org.globus.util.http
Class HTTPChunkedInputStream
java.lang.Object
java.io.InputStream
org.globus.util.http.HTTPChunkedInputStream
- All Implemented Interfaces:
- Closeable
public class HTTPChunkedInputStream
- extends InputStream
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_buf
protected byte[] _buf
_index
protected int _index
_max
protected int _max
_eof
protected boolean _eof
_in
protected InputStream _in
HTTPChunkedInputStream
public HTTPChunkedInputStream(InputStream in)
read
public int read(byte[] buffer,
int off,
int len)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException