Uses of Interface
org.springframework.web.servlet.resource.VersionPathStrategy
Packages that use VersionPathStrategy
Package
Description
Support classes for serving static resources.
-
Uses of VersionPathStrategy in org.springframework.web.servlet.resource
Subinterfaces of VersionPathStrategy in org.springframework.web.servlet.resourceModifier and TypeInterfaceDescriptioninterfaceAn extension ofVersionPathStrategythat adds a method to determine the actual version of aResource.Classes in org.springframework.web.servlet.resource that implement VersionPathStrategyModifier and TypeClassDescriptionclassAbstract base class forVersionStrategyimplementations.protected static classFile name-basedVersionPathStrategy, for example,"path/foo-{version}.css".protected static classA prefix-basedVersionPathStrategy, for example,"{version}/path/foo.js".classAVersionStrategythat calculates a Hex MD5 hash from the content of the resource and appends it to the file name, for example,"styles/main-e36d2e05253c6c7085a91522ce43a0b4.css".classAVersionStrategythat relies on a fixed version applied as a request path prefix, for example, reduced SHA, version name, release date, etc.Methods in org.springframework.web.servlet.resource that return VersionPathStrategyConstructors in org.springframework.web.servlet.resource with parameters of type VersionPathStrategyModifierConstructorDescriptionprotectedAbstractVersionStrategy(VersionPathStrategy pathStrategy)