Interface ApiVersionResolver
- All Known Implementing Classes:
PathApiVersionResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract to extract the version from a request.
- Since:
- 7.0
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionresolveVersion
(ServerWebExchange exchange) Resolve the version for the given exchange.
-
Method Details
-
resolveVersion
Resolve the version for the given exchange.- Parameters:
exchange
- the current exchange- Returns:
- the version value, or
null
if not found
-