Interface WebJarResourcesFilter

All Known Implementing Classes:
CombinedWebJarResourcesFilter, InsertVariablesResourcesFilter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WebJarResourcesFilter
  • Method Details

    • apply

      Filter web jar resources. Can either update or not update the content of a web jars resource, or not include a resource at all.
      Parameters:
      fileName - path and name of the resource inside the webjar, starting from the webJarRoot.
      stream - current resource content, might be null
      Returns:
      a FilterResult, never null
      Throws:
      IOException