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