Interface AbstractCachingViewResolver.CacheFilter
- Enclosing class:
- AbstractCachingViewResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Filter that determines if view should be cached.
- Since:
- 5.2
- Author:
- Sergey Galkin, Arjen Poutsma
-
Method Summary
-
Method Details
-
filter
Indicates whether the given view should be cached. The name and locale used to resolve the view are also provided.- Parameters:
view- the viewviewName- the name used to resolve theviewlocale- the locale used to resolve theview- Returns:
trueif the view should be cached;falseotherwise
-