接口 AbstractCachingViewResolver.CacheFilter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public static interface AbstractCachingViewResolver.CacheFilter
Filter that determines if view should be cached.- 从以下版本开始:
- 5.2
- 作者:
- Sergey Galkin, Arjen Poutsma
方法详细资料
filter
boolean filter(View view, String viewName, Locale locale)
Indicates whether the given view should be cached. The name and locale used to resolve the view are also provided.- 参数:
view
- the viewviewName
- the name used to resolve theview
locale
- the locale used to resolve theview
- 返回:
true
if the view should be cached;false
otherwise