Package io.a2a.server

Interface TransportMetadata


public interface TransportMetadata
Interface for transport endpoint implementations to provide metadata about their transport. This is used by the validation system to discover available transports on the classpath.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the transport protocol this endpoint supports.
    default boolean
    Checks if this transport endpoint is currently available/functional.
  • Method Details

    • getTransportProtocol

      String getTransportProtocol()
      Returns the transport protocol this endpoint supports.
      Returns:
      the transport protocol
    • isAvailable

      default boolean isAvailable()
      Checks if this transport endpoint is currently available/functional. This can be used for runtime availability checks beyond just classpath presence.
      Returns:
      true if the transport is available, false otherwise