Package org.springframework.web.accept
Interface ApiVersionParser<V extends Comparable<V>>
- Type Parameters:
V
- the parsed object type
- All Known Implementing Classes:
SemanticApiVersionParser
- 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 parse a version into an Object representation.
- Since:
- 7.0
- Author:
- Rossen Stoyanchev
-
Method Summary
-
Method Details
-
parseVersion
Parse the version into an Object.- Parameters:
version
- the value to parse- Returns:
- an Object that represents the version
-