java.lang.Object
java.io.InputStream
io.fusionauth.http.server.io.HTTPInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
An InputStream intended to read the HTTP request body.
This will handle fixed length requests, chunked requests as well as decompression if necessary.
- Author:
- Brian Pontarelli
-
Constructor Summary
ConstructorsConstructorDescriptionHTTPInputStream(HTTPServerConfiguration configuration, HTTPRequest request, PushbackInputStream pushbackInputStream, int maximumContentLength) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
HTTPInputStream
public HTTPInputStream(HTTPServerConfiguration configuration, HTTPRequest request, PushbackInputStream pushbackInputStream, int maximumContentLength)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
drain
- Throws:
IOException
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-