Package com.vaadin.flow.server
Class ServiceContextUriResolver
java.lang.Object
com.vaadin.flow.shared.VaadinUriResolver
com.vaadin.flow.server.ServiceContextUriResolver
- All Implemented Interfaces:
Serializable
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 withVaadinService.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 withVaadinService.getResource(String)
andVaadinService.getResourceAsStream(String)
.- Parameters:
uri
- the URI to resolve- Returns:
- the URI resolved to be relative to the context root
-