Class GetExtendedAgentCardResponse
java.lang.Object
org.a2aproject.sdk.jsonrpc.common.wrappers.A2AResponse<AgentCard>
org.a2aproject.sdk.jsonrpc.common.wrappers.GetExtendedAgentCardResponse
- All Implemented Interfaces:
A2AMessage
JSON-RPC response containing an agent's extended card with authenticated details.
This response returns an AgentCard with additional information only available
to authenticated clients. The extended card may include premium features, detailed
security configurations, or other authenticated-only capabilities.
If the agent doesn't support authenticated extended cards or authentication fails,
the error field will contain a A2AError such as
ExtendedAgentCardNotConfiguredError.
- See Also:
-
Field Summary
Fields inherited from class A2AResponse
error, id, jsonrpc, resultFields inherited from interface A2AMessage
JSONRPC_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionGetExtendedAgentCardResponse(Object id, A2AError error) Constructs error response.GetExtendedAgentCardResponse(Object id, AgentCard result) Constructs successful response.GetExtendedAgentCardResponse(String jsonrpc, Object id, AgentCard result, A2AError error) Constructs response with full parameters. -
Method Summary
Methods inherited from class A2AResponse
getError, getId, getJsonrpc, getResult
-
Constructor Details
-
GetExtendedAgentCardResponse
-
GetExtendedAgentCardResponse
-
GetExtendedAgentCardResponse
-