Class AbstractResourcesPathHelper

    • Constructor Detail

      • AbstractResourcesPathHelper

        public AbstractResourcesPathHelper​(org.springframework.web.util.UriComponentsBuilder base,
                                           ResourceUrlConfiguration resourceUrlConfiguration)
    • Method Detail

      • getWebResourcesPath

        public final String getWebResourcesPath​(String path)
        Parameters:
        path - The path relative to the web resources base path. "" will return the web resources base path (including trailing slash)
        Returns:
        the full (including cache version key) path for a web resource
      • getCurrentWebResourcesPath

        public final String getCurrentWebResourcesPath​(String path)
        Parameters:
        path - The path relative to the current web resources base path. "" will return the current web resources base path (including trailing slash)
        Returns:
        the full path for a web resource
      • getHtmlResourceFullPath

        public final String getHtmlResourceFullPath​(String path)
        Parameters:
        path - The full path to the HTML resource.
        Returns:
        the full path for a HTML resource.