com.vaadin.server.

Interface DependencyFilter

    • Method Detail

      • filter

        List<Dependency> filter​(List<Dependency> dependencies,
                                DependencyFilter.FilterContext filterContext)

        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.

        Parameters:

        dependencies - the collected dependencies, possibly already modified by other filters

        filterContext - context information, e.g about the target UI

        Returns:

        a list of dependencies to load