Package io.a2a.server.requesthandlers
Class JSONRPCHandler
java.lang.Object
io.a2a.server.requesthandlers.JSONRPCHandler
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSONRPCHandler(AgentCard agentCard, RequestHandler requestHandler) -
Method Summary
Modifier and TypeMethodDescriptiononCancelTask(CancelTaskRequest request) onGetTask(GetTaskRequest request) onMessageSend(SendMessageRequest request)
-
Constructor Details
-
JSONRPCHandler
protected JSONRPCHandler() -
JSONRPCHandler
-
-
Method Details
-
onMessageSend
-
onMessageSendStream
public Flow.Publisher<SendStreamingMessageResponse> onMessageSendStream(SendStreamingMessageRequest request) -
onCancelTask
-
onResubscribeToTask
public Flow.Publisher<SendStreamingMessageResponse> onResubscribeToTask(TaskResubscriptionRequest request) -
getPushNotification
public GetTaskPushNotificationConfigResponse getPushNotification(GetTaskPushNotificationConfigRequest request) -
setPushNotification
public SetTaskPushNotificationConfigResponse setPushNotification(SetTaskPushNotificationConfigRequest request) -
onGetTask
-
getAgentCard
-