public
classChunkedInputStream
extends InputStream
Overview
Inheritance
Members
Usage
Source
Books
Since2.0
VersionNot specified.
Author(s)Ortwin Glueck, Sean C. Sullivan, Martin Elwin, Eric Johnson, Mike Bowler, Michael Becke, Oleg Kalnichevski
Transparently coalesces chunks of a HTTP stream that uses
Transfer-Encoding chunked.
Note that this class NEVER closes the underlying stream, even when close
gets called. Instead, it will read until the "end" of its chunking on close,
which allows for the seamless invocation of subsequent HTTP 1.1 calls, while
not requiring the client to remember to read the entire contents of the
response.
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
Note that this class NEVER closes the underlying stream, even when close gets called. Instead, it will read until the "end" of its chunking on close, which allows for the seamless invocation of subsequent HTTP 1.1 calls, while not requiring the client to remember to read the entire contents of the response.