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) -
getPushNotificationConfig
public GetTaskPushNotificationConfigResponse getPushNotificationConfig(GetTaskPushNotificationConfigRequest request) -
setPushNotificationConfig
public SetTaskPushNotificationConfigResponse setPushNotificationConfig(SetTaskPushNotificationConfigRequest request) -
onGetTask
-
listPushNotificationConfig
public ListTaskPushNotificationConfigResponse listPushNotificationConfig(ListTaskPushNotificationConfigRequest request) -
deletePushNotificationConfig
public DeleteTaskPushNotificationConfigResponse deletePushNotificationConfig(DeleteTaskPushNotificationConfigRequest request) -
getAgentCard
-