Package org.apache.catalina.webresources
Class MyCacheStrategy
- java.lang.Object
-
- org.apache.catalina.webresources.MyCacheStrategy
-
- All Implemented Interfaces:
WebResourceRoot.CacheStrategy
public class MyCacheStrategy extends Object implements WebResourceRoot.CacheStrategy
-
-
Constructor Summary
Constructors Constructor Description MyCacheStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleannoCache(String path)Should the result of looking up the resource at the given path be excluded from caching?
-
-
-
Method Detail
-
noCache
public boolean noCache(String path)
Description copied from interface:WebResourceRoot.CacheStrategyShould the result of looking up the resource at the given path be excluded from caching?- Specified by:
noCachein interfaceWebResourceRoot.CacheStrategy- Parameters:
path- The path to check against the strategy to see if the result should be cached- Returns:
trueif the result should not be cached, otherwisefalse
-
-