|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StaticAssetPathService
| Method Summary | |
|---|---|
String |
convertAllAssetPathsInContent(String content,
boolean secureRequest)
This method will take in a content string (e.g. |
String |
convertAssetPath(String assetPath,
String contextPath,
boolean secureRequest)
This method will take in an assetPath (think image url) and convert it if the value contains the asseturlprefix. |
String |
getStaticAssetEnvironmentSecureUrlPrefix()
Returns the secure value of the environment url prefix (e.g. |
String |
getStaticAssetEnvironmentUrlPrefix()
Returns the value configured for the current environment for the static asset url prefix. |
String |
getStaticAssetUrlPrefix()
Returns the value configured to mark an item as a static URL. |
void |
setStaticAssetEnvironmentUrlPrefix(String prefix)
Sets the environment url prefix. |
void |
setStaticAssetUrlPrefix(String prefix)
Sets the static asset url prefix |
| Method Detail |
|---|
String convertAllAssetPathsInContent(String content,
boolean secureRequest)
content - - The content string to rewrite if it contains a cms managed assetsecureRequest - - True if the request is being served over https
String convertAssetPath(String assetPath,
String contextPath,
boolean secureRequest)
assetPath - - The path to rewrite if it is a cms managed assetcontextPath - - The context path of the web application (if applicable)secureRequest - - True if the request is being served over httpsStaticAssetService#getStaticAssetUrlPrefix(),
StaticAssetService#getStaticAssetEnvironmentUrlPrefix()String getStaticAssetUrlPrefix()
void setStaticAssetUrlPrefix(String prefix)
prefix - String getStaticAssetEnvironmentUrlPrefix()
void setStaticAssetEnvironmentUrlPrefix(String prefix)
prefix - String getStaticAssetEnvironmentSecureUrlPrefix()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||