Class StaticResourceCacheConfigDefault

java.lang.Object
org.spincast.plugins.routing.StaticResourceCacheConfigDefault
All Implemented Interfaces:
org.spincast.core.routing.StaticResourceCacheConfig

public class StaticResourceCacheConfigDefault extends Object implements org.spincast.core.routing.StaticResourceCacheConfig
  • Constructor Details

    • StaticResourceCacheConfigDefault

      public StaticResourceCacheConfigDefault(int cacheSeconds, boolean isCachePrivate, @Nullable Integer cacheSecondsCdn)
  • Method Details

    • getCacheSeconds

      public int getCacheSeconds()
      Specified by:
      getCacheSeconds in interface org.spincast.core.routing.StaticResourceCacheConfig
    • isCachePrivate

      public boolean isCachePrivate()
      Specified by:
      isCachePrivate in interface org.spincast.core.routing.StaticResourceCacheConfig
    • getCacheSecondsCdn

      public Integer getCacheSecondsCdn()
      Specified by:
      getCacheSecondsCdn in interface org.spincast.core.routing.StaticResourceCacheConfig