Package com.vaadin.flow.server
Interface DependencyFilter
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Filter for dependencies loaded using
@StyleSheet
, and *
@JavaScript
.- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfilter
(List<Dependency> dependencies, VaadinService service) Filters the list of dependencies and returns a (possibly) updated version.
-
Method Details
-
filter
Filters the list of dependencies and returns a (possibly) updated version.Called whenever dependencies are about to be sent to the client side for loading and when templates are parsed on the server side.
- Parameters:
dependencies
- the collected dependencies, possibly already modified by other filtersservice
- a Vaadin service- Returns:
- a list of dependencies to load
-