接口 TemplateAvailabilityProvider

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      booleanisTemplateAvailable​(String view, org.springframework.core.env.Environment environment, ClassLoader classLoader, org.springframework.core.io.ResourceLoader resourceLoader)
      Returns true if a template is available for the given view.
    • 方法详细资料

      • isTemplateAvailable

        boolean isTemplateAvailable​(String view,
                                    org.springframework.core.env.Environment environment,
                                    ClassLoader classLoader,
                                    org.springframework.core.io.ResourceLoader resourceLoader)
        Returns true if a template is available for the given view.
        参数:
        view - the view name
        environment - the environment
        classLoader - the class loader
        resourceLoader - the resource loader
        返回:
        if the template is available