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.
Class ServiceContextUriResolver
- java.lang.Object
-
- com.vaadin.flow.shared.VaadinUriResolver
-
- com.vaadin.flow.server.ServiceContextUriResolver
-
All Implemented Interfaces:
public class ServiceContextUriResolver extends VaadinUriResolver implements Serializable
A URI resolver which resolves paths for loading through VaadinService resource methods.
Since:
1.0
See Also:
-
-
Constructor Summary
Constructors Constructor Description ServiceContextUriResolver()
-
Method Summary
All Methods Modifier and Type Method Description String
resolveVaadinUri​(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
-
-
-
-
Method Detail
-
resolveVaadinUri
public String resolveVaadinUri​(String uri)
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
-
-