Class ResourceServletContentTypeCache

java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.document.web.ResourceServletContentTypeCache
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, Cloneable, net.sf.ehcache.event.CacheEventListener

public class ResourceServletContentTypeCache extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
Deprecated.
This class will be removed after v2.5
ResourceServletCache
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String strKey)
    Deprecated.
    Get from the cache
    Deprecated.
    Gets the cache name
    void
    put(String strKey, String strContentType)
    Deprecated.
    Put an object into the cache

    Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService

    clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ResourceServletContentTypeCache

      public ResourceServletContentTypeCache()
      Deprecated.
      Constructor
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Gets the cache name
      Returns:
      The cache name
    • get

      public String get(String strKey)
      Deprecated.
      Get from the cache
      Parameters:
      strKey - The key
      Returns:
      The object or null if not found
    • put

      public void put(String strKey, String strContentType)
      Deprecated.
      Put an object into the cache
      Parameters:
      strKey - The key
      strContentType - The value