Interface VersionPathStrategy

    • Method Detail

      • extractVersion

        String extractVersion​(String requestPath)
        Extract the resource version from the request path.
        Parameters:
        requestPath - the request path to check
        Returns:
        the version string or null if none was found
      • addVersion

        String addVersion​(String requestPath,
                          String version)
        Add a version to the given request path.
        Parameters:
        requestPath - the requestPath
        version - the version
        Returns:
        the requestPath updated with a version string