Package org.spincast.plugins.routing
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 Summary
ConstructorsConstructorDescriptionStaticResourceCacheConfigDefault(int cacheSeconds, boolean isCachePrivate, Integer cacheSecondsCdn) -
Method Summary
Modifier and TypeMethodDescriptionintboolean
-
Constructor Details
-
StaticResourceCacheConfigDefault
public StaticResourceCacheConfigDefault(int cacheSeconds, boolean isCachePrivate, @Nullable Integer cacheSecondsCdn)
-
-
Method Details
-
getCacheSeconds
public int getCacheSeconds()- Specified by:
getCacheSecondsin interfaceorg.spincast.core.routing.StaticResourceCacheConfig
-
isCachePrivate
public boolean isCachePrivate()- Specified by:
isCachePrivatein interfaceorg.spincast.core.routing.StaticResourceCacheConfig
-
getCacheSecondsCdn
- Specified by:
getCacheSecondsCdnin interfaceorg.spincast.core.routing.StaticResourceCacheConfig
-