org.springframework.boot.autoconfigure.template

Interface TemplateAvailabilityProvider

    • Method Detail

      • isTemplateAvailable

        boolean isTemplateAvailable(String view,
                                    Environment environment,
                                    ClassLoader classLoader,
                                    ResourceLoader resourceLoader)
        Returns true if a template is available for the given view.
        Parameters:
        view - the view name
        environment - the environment
        classLoader - the class loader
        resourceLoader - the resource loader
        Returns:
        if the template is available