Package org.springframework.web.client
Interface ApiVersionFormatter
- 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 format the API version for a request.
- Since:
- 7.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionformatVersion
(Object version) Format the given version Object into a String value.
-
Method Details
-
formatVersion
Format the given version Object into a String value.- Parameters:
version
- the version to format- Returns:
- the final String version to use
-