Package io.fusionauth.http.io
Class ChunkedInputStream
java.lang.Object
java.io.InputStream
io.fusionauth.http.io.ChunkedInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
A filter InputStream that handles the chunked body while passing the body bytes down to the delegate stream.
TODO: This can be much more efficient by not handling each chunk separately.
- Author:
- Brian Pontarelli
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ChunkedInputStream
-
-
Method Details
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-