Package org.craftercms.engine.scripting
Interface ScriptUrlTemplateScanner
-
- All Known Implementing Classes:
CachedScriptUrlTemplateScanner
,ScriptUrlTemplateScannerImpl
public interface ScriptUrlTemplateScanner
Scans the site context for scripts that have URL variables, for example, /scripts/rest/user/{username}.get.json.- Author:
- avasquez.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.springframework.web.util.UriTemplate>
scan(SiteContext siteContext)
Scans the site context at a certain path to discover script URL templates.
-
-
-
Method Detail
-
scan
List<org.springframework.web.util.UriTemplate> scan(SiteContext siteContext)
Scans the site context at a certain path to discover script URL templates.- Parameters:
siteContext
- the site context to scan- Returns:
- the list of URL templates
-
-