com.vaadin.flow.server.streams.

Interface InputStreamDownloadCallback

All Superinterfaces:

Serializable

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 InputStreamDownloadCallback extends Serializable

A callback for providing an InputStream, other download meta-data and handling logic for InputStreamDownloadHandler. The method invocation may throw an IOException to handle cases where reading from InputStream fails.

Since:

24.8