Class HTTPChunkedInputStream
java.lang.Object
java.io.InputStream
org.globus.util.http.HTTPChunkedInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
_buf
protected byte[] _buf -
_index
protected int _index -
_max
protected int _max -
_eof
protected boolean _eof -
_in
-
-
Constructor Details
-
HTTPChunkedInputStream
-
-
Method Details
-
readChunk
- Throws:
IOException
-
readLine
Read a line of text from the given Stream and return it as a String. Assumes lines end in CRLF.- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-