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.

@FunctionalInterface public interface ApiVersionFormatter
Contract to format the API version for a request.
Since:
7.0
Author:
Rossen Stoyanchev
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Format the given version Object into a String value.
  • Method Details

    • formatVersion

      String formatVersion(Object version)
      Format the given version Object into a String value.
      Parameters:
      version - the version to format
      Returns:
      the final String version to use