public static class ERXResourceManager.PropertiesVersionManager extends Object implements ERXResourceManager.IVersionManager
| Name | Description |
|---|---|
er.extensions.ERXResourceManager.versionManager.default | the default version to use when an explicit version is not specified, defaults to app startup time. Ideally you should set this explicitly when you deploy, or multiple instance deployments will end up with different version numbers for the same resource. |
er.extensions.ERXResourceManager.versionManager.[bundleName].[resourceName]
| the version to send for the specified resource. If not set explicitly, the app default version will be used instead. |
| Constructor and Description |
|---|
PropertiesVersionManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
versionedUrlForResourceNamed(String resourceUrl,
String name,
String bundleName,
NSArray<String> languages,
com.webobjects.appserver.WORequest request)
Returns the variant of the given resource URL adjusted to include
version information.
|
public String versionedUrlForResourceNamed(String resourceUrl, String name, String bundleName, NSArray<String> languages, com.webobjects.appserver.WORequest request)
ERXResourceManager.IVersionManagerversionedUrlForResourceNamed in interface ERXResourceManager.IVersionManagerresourceUrl - the original resource URLname - the name of the resource being loadedbundleName - the name of the bundle that contains the resourcelanguages - the languages requestedrequest - the requestCopyright © 2002 – 2020 Project Wonder.