Uses of Interface
org.springframework.web.reactive.resource.VersionStrategy
Packages that use VersionStrategy Package Description org.springframework.web.reactive.resource Support classes for serving static resources.Uses of VersionStrategy in org.springframework.web.reactive.resource
Classes in org.springframework.web.reactive.resource that implement VersionStrategy Modifier and Type Class Description class
AbstractFileNameVersionStrategy
Abstract base class for filename suffix basedVersionStrategy
implementations, e.g.class
AbstractPrefixVersionStrategy
Abstract base class forVersionStrategy
implementations that insert a prefix into the URL path, e.g.class
ContentVersionStrategy
AVersionStrategy
that calculates an Hex MD5 hashes from the content of the resource and appends it to the file name, e.g.class
FixedVersionStrategy
AVersionStrategy
that relies on a fixed version applied as a request path prefix, e.g.Methods in org.springframework.web.reactive.resource that return VersionStrategy Modifier and Type Method Description protected VersionStrategy
VersionResourceResolver. getStrategyForPath(String requestPath)
Find aVersionStrategy
for the request path of the requested resource.Methods in org.springframework.web.reactive.resource that return types with arguments of type VersionStrategy Modifier and Type Method Description Map<String,VersionStrategy>
VersionResourceResolver. getStrategyMap()
Return the map with version strategies keyed by path pattern.Methods in org.springframework.web.reactive.resource with parameters of type VersionStrategy Modifier and Type Method Description VersionResourceResolver
VersionResourceResolver. addVersionStrategy(VersionStrategy strategy, String... pathPatterns)
Register a custom VersionStrategy to apply to resource URLs that match the given path patterns.Method parameters in org.springframework.web.reactive.resource with type arguments of type VersionStrategy Modifier and Type Method Description void
VersionResourceResolver. setStrategyMap(Map<String,VersionStrategy> map)
Set a Map with URL paths as keys andVersionStrategy
as values.