Class WellKnownAgentCardResolver.Builder

java.lang.Object
io.agentscope.core.a2a.agent.card.WellKnownAgentCardResolver.Builder
Enclosing class:
WellKnownAgentCardResolver

public static class WellKnownAgentCardResolver.Builder extends Object
  • Method Details

    • baseUrl

      public WellKnownAgentCardResolver.Builder baseUrl(String baseUrl)
      Set the base URL for the agent card resolver.
      Parameters:
      baseUrl - the base URL to set
      Returns:
      the current Builder instance for method chaining
    • relativeCardPath

      public WellKnownAgentCardResolver.Builder relativeCardPath(String relativeCardPath)
      Set the relative card path for the agent card resolver.
      Parameters:
      relativeCardPath - the relative card path to set
      Returns:
      the current Builder instance for method chaining
    • authHeaders

      public WellKnownAgentCardResolver.Builder authHeaders(Map<String,String> authHeaders)
      Set the authentication headers for the agent card resolver.
      Parameters:
      authHeaders - the authentication headers to set
      Returns:
      the current Builder instance for method chaining
    • build

      Build the WellKnownAgentCardResolver instance.
      Returns:
      the built WellKnownAgentCardResolver instance