Class QueryApiVersionResolver
java.lang.Object
org.springframework.web.accept.QueryApiVersionResolver
- All Implemented Interfaces:
- ApiVersionResolver
ApiVersionResolver that extract the version from a query parameter.- Since:
- 7.0
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionresolveVersion(jakarta.servlet.http.HttpServletRequest request) Resolve the version for the given request.
- 
Constructor Details- 
QueryApiVersionResolver
 
- 
- 
Method Details- 
resolveVersionDescription copied from interface:ApiVersionResolverResolve the version for the given request.- Specified by:
- resolveVersionin interface- ApiVersionResolver
- Parameters:
- request- the current request
- Returns:
- the version value, or nullif not found
 
 
-