Is there any way in Vaadin 14 to get the current page URL?
There is currently no Java API for this, the feature request is here: https://github.com/vaadin/flow/issues/1897
It is possible to do JavaScript call from server with return value call back and obtain the window.location.href from the Browser though.