Class ChunkedInputStream

java.lang.Object
java.io.InputStream
io.fusionauth.http.io.ChunkedInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ChunkedInputStream extends InputStream
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