Uses of Interface
org.springframework.web.reactive.resource.VersionStrategy
Packages that use VersionStrategy
Package
Description
Support classes for serving static resources.
-
Uses of VersionStrategy in org.springframework.web.reactive.resource
Classes in org.springframework.web.reactive.resource that implement VersionStrategyModifier and TypeClassDescriptionclassAbstract base class for filename suffix basedVersionStrategyimplementations, e.g.classAbstract base class forVersionStrategyimplementations that insert a prefix into the URL path, e.g.classAVersionStrategythat calculates a Hex MD5 hash from the content of the resource and appends it to the file name, e.g.classAVersionStrategythat relies on a fixed version applied as a request path prefix, e.g.Methods in org.springframework.web.reactive.resource that return VersionStrategyModifier and TypeMethodDescriptionprotected VersionStrategyVersionResourceResolver.getStrategyForPath(String requestPath) Find aVersionStrategyfor the request path of the requested resource.Methods in org.springframework.web.reactive.resource that return types with arguments of type VersionStrategyModifier and TypeMethodDescriptionVersionResourceResolver.getStrategyMap()Return the map with version strategies keyed by path pattern.Methods in org.springframework.web.reactive.resource with parameters of type VersionStrategyModifier and TypeMethodDescriptionVersionResourceResolver.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 VersionStrategyModifier and TypeMethodDescriptionvoidVersionResourceResolver.setStrategyMap(Map<String, VersionStrategy> map) Set a Map with URL paths as keys andVersionStrategyas values.