VersionStrategy
implementations, e.g. "static/myresource-version.js"
| Modifier and Type | Field and Description |
|---|---|
| protected final Log | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | addVersion(String
the requestPath requestPath, String the version version)Implements org. Add a version to the given request path. |
| public String | extractVersion(String
the request path to check requestPath)Implements org. Extract the resource version from the request path. |
| public String | removeVersion(String
the request path of the resource being resolved requestPath, String the version obtained from version)extractVersion(String)Implements org. Remove the version from the request path. |
| logger | back to summary |
|---|---|
| protected final Log logger | |
| pattern | back to summary |
|---|---|
| private static final Pattern pattern | |
| AbstractFileNameVersionStrategy | back to summary |
|---|---|
| public AbstractFileNameVersionStrategy() | |
| addVersion | back to summary |
|---|---|
| public String addVersion(String requestPath, String version) Implements org. Doc from org. Add a version to the given request path. | |
| extractVersion | back to summary |
|---|---|
| public String extractVersion(String requestPath) Implements org. Doc from org. Extract the resource version from the request path. | |
| removeVersion | back to summary |
|---|---|
| public String removeVersion(String requestPath, String version) Implements org. Doc from org. Remove the version from the request path. It is assumed that the given
version was extracted via
| |