In my Vaadin Flow web app (version 14 or later), I want to present to my user a link to download a data file.
The contents of this download may be quite large. So I
The Vaadin API is somewhat counterintuitive for downloading dynamically served files. I suggest to use add-on like Flow Viritan to solve the issue. Check my year old blog entry.
I modified the DynamicFileDownloader in flow-viritin a bit. Now (since 0.3.5) you can override the file name dynamically. See change in GitHub.