We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.server.
Package com.vaadin.flow.server
Class ServiceContextUriResolver
java.lang.Object
com.vaadin.flow.shared.VaadinUriResolver
com.vaadin.flow.server.ServiceContextUriResolver
All Implemented Interfaces:
A URI resolver which resolves paths for loading through VaadinService resource methods.
Since:
1.0
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresolveVaadinUri
(String uri) Resolves the given uri to a path which can be used with
VaadinService.getResource(String)
andVaadinService.getResourceAsStream(String)
.Methods inherited from class com.vaadin.flow.shared.VaadinUriResolver
resolveVaadinUri
-
Constructor Details
-
ServiceContextUriResolver
public ServiceContextUriResolver()
-
-
Method Details
-
resolveVaadinUri
Resolves the given uri to a path which can be used with
VaadinService.getResource(String)
andVaadinService.getResourceAsStream(String)
.Parameters:
uri
- the URI to resolveReturns:
the URI resolved to be relative to the context root
-