I need to get the current servers name an all the other information stored in the URI.
In Vaadin 8 it was accessible thru the Page by calling something like this:
URI uri = Page.getCurrent().getLocation();
In Flow the Page does not contain such information:

An neither does the Router afaik.
How do I get the URI?
Thank you in advance.
Update Feb 2021
Since Vaadin 19 there is a new
Pagemethod calledfetchCurrentURLwhich will actively poll the current url form the frontend.see: commit
Old and potentially problematic workaround
The URI can be retrieved using this: