Interface TemplateAvailabilityProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      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.
    • Method Detail

      • 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.
        Parameters:
        view - the view name
        environment - the environment
        classLoader - the class loader
        resourceLoader - the resource loader
        Returns:
        if the template is available