Class WellKnownAgentCardResolver.Builder
java.lang.Object
io.agentscope.core.a2a.agent.card.WellKnownAgentCardResolver.Builder
- Enclosing class:
WellKnownAgentCardResolver
-
Method Summary
Modifier and TypeMethodDescriptionauthHeaders(Map<String, String> authHeaders) Set the authentication headers for the agent card resolver.Set the base URL for the agent card resolver.build()Build the WellKnownAgentCardResolver instance.relativeCardPath(String relativeCardPath) Set the relative card path for the agent card resolver.
-
Method Details
-
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
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
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
-