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

    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 Details

    • 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