Package | Description |
---|---|
org.springframework.web.servlet.resource |
Support classes for serving static resources.
|
Modifier and Type | Interface and Description |
---|---|
interface |
VersionStrategy
An extension of
VersionPathStrategy that adds a method
to determine the actual version of a Resource . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractVersionStrategy
Abstract base class for
VersionStrategy implementations. |
protected static class |
AbstractVersionStrategy.FileNameVersionPathStrategy
File name-based
VersionPathStrategy ,
e.g. |
protected static class |
AbstractVersionStrategy.PrefixVersionPathStrategy
A prefix-based
VersionPathStrategy ,
e.g. |
class |
ContentVersionStrategy
A
VersionStrategy that calculates a Hex MD5 hash from the content
of the resource and appends it to the file name, e.g. |
class |
FixedVersionStrategy
A
VersionStrategy that relies on a fixed version applied as a request
path prefix, e.g. |
Modifier and Type | Method and Description |
---|---|
VersionPathStrategy |
AbstractVersionStrategy.getVersionPathStrategy() |
Constructor and Description |
---|
AbstractVersionStrategy(VersionPathStrategy pathStrategy) |