Class ContentSourceInputStream

java.lang.Object
java.io.InputStream
org.eclipse.jetty.io.content.ContentSourceInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ContentSourceInputStream extends InputStream

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.