Class ContentSourceInputStream
java.lang.Object
java.io.InputStream
org.eclipse.jetty.io.content.ContentSourceInputStream
- All Implemented Interfaces:
Closeable, AutoCloseable
An InputStream that is backed by a Content.Source.
The read methods are implemented by calling Content.Source.read().
Any Content.Chunks read are released once all their content
has been read.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
ContentSourceInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-