Uses of Class
org.springframework.web.reactive.resource.VersionResourceResolver
Package
Description
Support classes for serving static resources.
-
Uses of VersionResourceResolver in org.springframework.web.reactive.resource
Modifier and TypeMethodDescriptionVersionResourceResolver.addContentVersionStrategy
(String... pathPatterns) Insert a content-based version in resource URLs that match the given path patterns.VersionResourceResolver.addFixedVersionStrategy
(String version, String... pathPatterns) Insert a fixed, prefix-based version in resource URLs that match the given path patterns, for example:"{version}/js/main.js"
.VersionResourceResolver.addVersionStrategy
(VersionStrategy strategy, String... pathPatterns) Register a custom VersionStrategy to apply to resource URLs that match the given path patterns.