Package com.aquima.web.util
Class AbstractResourcesPathHelper
java.lang.Object
com.aquima.web.util.AbstractResourcesPathHelper
- All Implemented Interfaces:
PathHelper
- Direct Known Subclasses:
ResourcesLinkHelper
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractResourcesPathHelper
(org.springframework.web.util.UriComponentsBuilder base, ResourceUrlConfiguration resourceUrlConfiguration) -
Method Summary
-
Constructor Details
-
AbstractResourcesPathHelper
public AbstractResourcesPathHelper(org.springframework.web.util.UriComponentsBuilder base, ResourceUrlConfiguration resourceUrlConfiguration)
-
-
Method Details
-
getWebResourcesPath
- 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
- 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
-