public abstract class VaadinUriResolver extends Object implements Serializable
resolveVaadinUri(String, String, String).
Concrete implementations of this class should implement
in case a reference to an object of this class is stored on the server side.
|Constructor and Description|
|Modifier and Type||Method and Description|
Translates a Vaadin URI to a URL that can be loaded by the browser.
- resolves to the application context root
- resolves to the build path where web components were compiled. Browsers supporting ES6 can receive different, more optimized files than browsers that only support ES5.
- resolves to the base URI of the page
https://are passed through this method unmodified.
uri- the URI to resolve
frontendUrl- the URL pointing to the path where the frontend files can be found. It is expected that different browsers receive different files depending on their capabilities. Can use the other protocols.
servletToContextRoot- the relative path from the servlet path (used as base path in the client) to the context root
Copyright © 2018. All rights reserved.