接口 AbstractCachingViewResolver.CacheFilter

    • 方法详细资料

      • 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 view
        viewName - the name used to resolve the view
        locale - the locale used to resolve the view
        返回:
        true if the view should be cached; false otherwise