public static class BootstrapHandler.BootstrapUriResolver extends VaadinUriResolver
| Modifier | Constructor and Description |
|---|---|
|
BootstrapUriResolver(String contextRootRelatiePath,
VaadinSession session)
Creates a new bootstrap resolver based on the given session.
|
protected |
BootstrapUriResolver(UI ui)
Creates a new bootstrap resolver based on the given ui.
|
| Modifier and Type | Method and Description |
|---|---|
String |
resolveVaadinUri(String uri)
Translates a Vaadin URI to a URL that can be loaded by the browser.
|
resolveVaadinUriprotected BootstrapUriResolver(UI ui)
ui - the ui to resolve forpublic BootstrapUriResolver(String contextRootRelatiePath, VaadinSession session)
contextRootRelatiePath - the relative path from the UI (servlet) path to the
context rootsession - the vaadin sessionpublic String resolveVaadinUri(String uri)
- resolves to the application context root -
resolves to the base URI of the pagehttp:// or
https:// are passed through this method unmodified.uri - the URI to resolveCopyright © 2021. All rights reserved.