Uses of Interface
org.springframework.web.servlet.resource.VersionPathStrategy
Package
Description
Support classes for serving static resources.
-
Uses of VersionPathStrategy in org.springframework.web.servlet.resource
Modifier and TypeInterfaceDescriptioninterface
An extension ofVersionPathStrategy
that adds a method to determine the actual version of aResource
.Modifier and TypeClassDescriptionclass
Abstract base class forVersionStrategy
implementations.protected static class
File name-basedVersionPathStrategy
, for example,"path/foo-{version}.css"
.protected static class
A prefix-basedVersionPathStrategy
, for example,"{version}/path/foo.js"
.class
AVersionStrategy
that calculates a Hex MD5 hash from the content of the resource and appends it to the file name, for example,"styles/main-e36d2e05253c6c7085a91522ce43a0b4.css"
.class
AVersionStrategy
that relies on a fixed version applied as a request path prefix, for example, reduced SHA, version name, release date, etc.ModifierConstructorDescriptionprotected
AbstractVersionStrategy
(VersionPathStrategy pathStrategy)