public abstract class VaadinUriResolver extends Object implements Serializable
resolveVaadinUri(String, String)
.
Concrete implementations of this class should implement Serializable
in case a reference to an object of this class is stored on the server side.
Constructor and Description |
---|
VaadinUriResolver() |
Modifier and Type | Method and Description |
---|---|
protected String |
resolveVaadinUri(String uri,
String servletToContextRoot)
Translates a Vaadin URI to a URL that can be loaded by the browser.
|
protected String resolveVaadinUri(String uri, String servletToContextRoot)
"context://"
resolves to the application context root"base://"
- resolves to the base URI of the pagehttp://
or
https://
are passed through this method unmodified.uri
- the URI to resolveservletToContextRoot
- the relative path from the servlet path (used as base path in
the client) to the context rootCopyright © 2022. All rights reserved.