public class ServiceContextUriResolver extends VaadinUriResolver implements Serializable
Constructor and Description |
---|
ServiceContextUriResolver() |
Modifier and Type | Method and Description |
---|---|
String |
resolveVaadinUri(String uri,
String frontendUrl)
Resolves the given uri using the given frontend location, to a path which
can be used with
VaadinService.getResource(String, WebBrowser, com.vaadin.flow.theme.AbstractTheme)
and
VaadinService.getResourceAsStream(String, WebBrowser, com.vaadin.flow.theme.AbstractTheme) . |
resolveVaadinUri
public String resolveVaadinUri(String uri, String frontendUrl)
VaadinService.getResource(String, WebBrowser, com.vaadin.flow.theme.AbstractTheme)
and
VaadinService.getResourceAsStream(String, WebBrowser, com.vaadin.flow.theme.AbstractTheme)
.uri
- the URI to resolvefrontendUrl
- the location of the frontend
folderCopyright © 2019. All rights reserved.