Interface WebResourceKeyProvider

All Known Implementing Classes:
CssWebResourceBuilder, JavascriptWebResourceBuilder, LinkWebResourceBuilder, MetaWebResourceBuilder
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 WebResourceKeyProvider
Interface that kan be implemented by ViewElementBuilders that are used inside AddWebResourceRule. If no explicit resource key is specified on the rule, the value of getWebResourceKey() will be used instead.
Since:
3.2.0
Author:
Arne Vandamme
  • Method Details

    • getWebResourceKey

      Optional<String> getWebResourceKey()
      Returns:
      the key that should be used for identifying the web resource