public interface VersionStrategy
VersionResourceResolver| Modifier and Type | Method and Description | 
|---|---|
String | 
addVersion(String requestPath,
          String version)
Add a version to the given request path. 
 | 
String | 
extractVersion(String requestPath)
Extract the resource version from the request path. 
 | 
reactor.core.publisher.Mono<String> | 
getResourceVersion(Resource resource)
Determine the version for the given resource. 
 | 
String | 
removeVersion(String requestPath,
             String version)
Remove the version from the request path. 
 | 
@Nullable String extractVersion(String requestPath)
requestPath - the request path to checknull if none was foundString removeVersion(String requestPath, String version)
extractVersion(String).requestPath - the request path of the resource being resolvedversion - the version obtained from extractVersion(String)String addVersion(String requestPath, String version)
requestPath - the requestPathversion - the version