Interface IStaticCacheableResource

    • Method Detail

      • isCachingEnabled

        boolean isCachingEnabled()
        controls whether caching of the resource is enabled or disabled
        Returns:
      • getCacheKey

        java.io.Serializable getCacheKey()
        get unique caching key for the resource stream produced by getResourceStream()
        Returns:
        serializable key with properly supports #equals(Object) and #hashCode()
      • getResourceStream

        org.apache.wicket.util.resource.IResourceStream getResourceStream()
        get static resource stream which will be unique to the related caching key getCacheKey()
        Returns:
        stream or null if no stream could be found