Interface StreamResource.StreamSource

  • All Superinterfaces:
    Serializable
    Enclosing class:
    StreamResource
    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 static interface StreamResource.StreamSource
    extends Serializable
    Interface implemented by the source of a StreamResource.
    Since:
    3.0
    Author:
    Vaadin Ltd.
    • Method Detail

      • getStream

        InputStream getStream()
        Returns new input stream that is used for reading the resource.