Class StreamingHttpFile<T extends Closeable>

java.lang.Object
com.linecorp.armeria.server.file.AbstractHttpFile
com.linecorp.armeria.server.file.StreamingHttpFile<T>
Type Parameters:
T - the type of the stream where the file content is read from, e.g. InputStream.
All Implemented Interfaces:
HttpFile

public abstract class StreamingHttpFile<T extends Closeable> extends AbstractHttpFile
A skeletal HttpFile that simplifies the streaming of potentially large content.