Interface WebJarResourcesFilter

    • Method Detail

      • apply

        WebJarResourcesFilter.FilterResult apply​(String fileName,
                                                 InputStream stream)
                                          throws IOException
        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