public class A2AServerEndpoint extends Object
| Constructor and Description |
|---|
A2AServerEndpoint(A2AServer server) |
| Modifier and Type | Method and Description |
|---|---|
AgentCard |
getAgentCard()
Get agent card information
|
JSONRPCResponse |
handleJsonRpcRequest(JSONRPCRequest request)
Handle JSON-RPC requests
|
org.noear.solon.web.sse.SseEmitter |
handleStreamingTask(JSONRPCRequest request)
Handle streaming task requests (Server-Sent Events)
|
public A2AServerEndpoint(A2AServer server)
@Post @Mapping(value="a2a") public JSONRPCResponse handleJsonRpcRequest(@Body JSONRPCRequest request)
@Post
@Mapping(value="a2a/streaming")
public org.noear.solon.web.sse.SseEmitter handleStreamingTask(@Body
JSONRPCRequest request)
@Mapping(value="/.well-known/agent.json") public AgentCard getAgentCard()
Copyright © 2025. All rights reserved.