Class HTTPInputStream

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

public class HTTPInputStream extends InputStream
An InputStream that handles the HTTP body, including body bytes that were read while the preamble was processed. This class also handles chunked bodies by using a delegate InputStream that wraps the original source of the body bytes. The ChunkedInputStream is the delegate that this class leverages for chunking.
Author:
Brian Pontarelli