Interface InputStreamSupplier

All Known Implementing Classes:
InputStreamSupplierBasic
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface InputStreamSupplier
An InputStreamSupplier is a source for InputStreams Obtaining an instance from the supplier should be near instant. For example, the most typical form of an InputStreamSupplier is () -> Files.newInputStream(someFile); Conversely, the process should not trigger a workflow that has to prepare the data first. Workflows that prepare a source of InputStreams should be realized using a Single.
Author:
raven
  • Method Summary

    Modifier and Type
    Method
    Description
    io.reactivex.rxjava3.core.Single<InputStream>