public static class BootstrapHandler.BootstrapUriResolver extends VaadinUriResolver
Modifier | Constructor and Description |
---|---|
protected |
BootstrapUriResolver(UI ui)
Creates a new bootstrap resolver based on the given request and
session.
|
Modifier and Type | Method and Description |
---|---|
String |
resolveVaadinUri(String uri)
Translates a Vaadin URI to a URL that can be loaded by the browser.
|
resolveVaadinUri
protected BootstrapUriResolver(UI ui)
ui
- the ui to resolve forpublic String resolveVaadinUri(String uri)
- 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 pagehttp://
or
https://
are passed through this method unmodified.uri
- the URI to resolveCopyright © 2019. All rights reserved.