接口 AbstractCachingViewResolver.CacheFilter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Filter that determines if view should be cached.
- 作者:
- Sergey Galkin, Arjen Poutsma
-
方法概要
修饰符和类型方法说明booleanshouldCaching(View view, String viewName, Locale locale) Indicates whether the given view should be cached.
-
方法详细资料
-
shouldCaching
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 theviewlocale- the locale used to resolve theview- 返回:
trueif the view should be cached;falseotherwise
-