Class DefaultMarkupCacheKeyProvider

  • All Implemented Interfaces:
    IMarkupCacheKeyProvider

    public class DefaultMarkupCacheKeyProvider
    extends java.lang.Object
    implements IMarkupCacheKeyProvider
    Wicket default implementation for the cache key used to reference the cached markup resource stream.
    Author:
    Jonathan Locke, Juergen Donnerstag
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCacheKey​(MarkupContainer container, java.lang.Class<?> clazz)
      Construct a proper key value for the cache
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMarkupCacheKeyProvider

        public DefaultMarkupCacheKeyProvider()
        Constructor.
    • Method Detail

      • getCacheKey

        public java.lang.String getCacheKey​(MarkupContainer container,
                                            java.lang.Class<?> clazz)
        Construct a proper key value for the cache
        Specified by:
        getCacheKey in interface IMarkupCacheKeyProvider
        Parameters:
        container - The container requesting the markup
        clazz - The clazz to get the key for
        Returns:
        Key that uniquely identifies any markup that might be associated with this markup container.
        See Also:
        IMarkupResourceStreamProvider