Interface ConnectorResource

    • Method Detail

      • getStream

        DownloadStream getStream()
        Gets resource as stream.

        Note that this method is called while the session is locked to prevent race conditions but the methods in the returned DownloadStream are assumed to be unrelated to the VaadinSession and are called without holding session locks (to prevent locking the session during long file downloads).

        Returns:
        A download stream which produces the resource content
      • getFilename

        String getFilename()
        Gets the virtual filename for this resource.
        Returns:
        the file name associated to this resource.