You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.

Interface StreamVariable.StreamingEvent

    • Method Detail

      • getFileName

        String getFileName()

        Get the file name for the stream.

        Returns:

        the file name of the streamed file if known

      • getMimeType

        String getMimeType()

        Get the mime type for the stream.

        Returns:

        the mime type of the streamed file if known

      • getContentLength

        long getContentLength()

        Get the content length.

        Returns:

        the length of the stream (in bytes) if known, else -1

      • getBytesReceived

        long getBytesReceived()

        Get the number of bytes streamed.

        Returns:

        then number of bytes streamed to StreamVariable