Class CachedScriptUrlTemplateScanner

    • Field Detail

      • cacheTemplate

        protected org.craftercms.core.util.cache.CacheTemplate cacheTemplate
    • Constructor Detail

      • CachedScriptUrlTemplateScanner

        public CachedScriptUrlTemplateScanner()
    • Method Detail

      • setCacheTemplate

        public void setCacheTemplate​(org.craftercms.core.util.cache.CacheTemplate cacheTemplate)
      • scan

        public List<org.springframework.web.util.UriTemplate> scan​(SiteContext siteContext)
        Description copied from interface: ScriptUrlTemplateScanner
        Scans the site context at a certain path to discover script URL templates.
        Specified by:
        scan in interface ScriptUrlTemplateScanner
        Parameters:
        siteContext - the site context to scan
        Returns:
        the list of URL templates