Class VersionRouter

java.lang.Object
org.a2aproject.sdk.server.common.quarkus.VersionRouter

public final class VersionRouter extends Object
  • Field Details

  • Method Details

    • resolveVersion

      public static String resolveVersion(io.vertx.ext.web.RoutingContext rc)
      Resolves the protocol version from the request.
      Returns:
      VERSION_1_0, VERSION_0_3, or the raw version string if it matches neither (caller should reject as unsupported)
    • isV10

      public static boolean isV10(String resolvedVersion)
    • isV03

      public static boolean isV03(String resolvedVersion)