Class AbstractResourcesPathHelper

java.lang.Object
com.aquima.web.util.AbstractResourcesPathHelper
All Implemented Interfaces:
PathHelper
Direct Known Subclasses:
ResourcesLinkHelper

public abstract class AbstractResourcesPathHelper extends Object implements PathHelper
  • Constructor Details Link icon

    • AbstractResourcesPathHelper Link icon

      public AbstractResourcesPathHelper(org.springframework.web.util.UriComponentsBuilder base, ResourceUrlConfiguration resourceUrlConfiguration)
  • Method Details Link icon

    • getWebResourcesPath Link icon

      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 Link icon

      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