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

Class VaadinUriResolver

    • Constructor Detail

      • VaadinUriResolver

        public VaadinUriResolver()
    • Method Detail

      • resolveVaadinUri

        protected String resolveVaadinUri​(String uri,
                                          String servletToContextRoot)

        Translates a Vaadin URI to a URL that can be loaded by the browser. The following URI schemes are supported:

        Any other URI protocols, such as http:// or https:// are passed through this method unmodified.

        Parameters:

        uri - the URI to resolve

        servletToContextRoot - the relative path from the servlet path (used as base path in the client) to the context root

        Returns:

        the resolved URI