public class MyCacheStrategy extends Object implements WebResourceRoot.CacheStrategy
Constructor and Description |
---|
MyCacheStrategy() |
Modifier and Type | Method and Description |
---|---|
boolean |
noCache(String path)
Should the result of looking up the resource at the given path be
excluded from caching?
|
public boolean noCache(String path)
WebResourceRoot.CacheStrategy
noCache
in interface WebResourceRoot.CacheStrategy
path
- The path to check against the strategy to see if the
result should be cachedtrue
if the result should not be cached, otherwise
false
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.