Package io.a2a.server.requesthandlers
Interface RequestHandler
- All Known Implementing Classes:
DefaultRequestHandler
public interface RequestHandler
-
Method Summary
Modifier and TypeMethodDescriptiononCancelTask(TaskIdParams params) voidonGetTask(TaskQueryParams params) onMessageSend(MessageSendParams params) onMessageSendStream(MessageSendParams params) onResubscribeToTask(TaskIdParams params)
-
Method Details
-
onGetTask
- Throws:
JSONRPCError
-
onCancelTask
- Throws:
JSONRPCError
-
onMessageSend
- Throws:
JSONRPCError
-
onMessageSendStream
Flow.Publisher<StreamingEventKind> onMessageSendStream(MessageSendParams params) throws JSONRPCError - Throws:
JSONRPCError
-
onSetTaskPushNotificationConfig
TaskPushNotificationConfig onSetTaskPushNotificationConfig(TaskPushNotificationConfig params) throws JSONRPCError - Throws:
JSONRPCError
-
onGetTaskPushNotificationConfig
TaskPushNotificationConfig onGetTaskPushNotificationConfig(GetTaskPushNotificationConfigParams params) throws JSONRPCError - Throws:
JSONRPCError
-
onResubscribeToTask
- Throws:
JSONRPCError
-
onListTaskPushNotificationConfig
List<TaskPushNotificationConfig> onListTaskPushNotificationConfig(ListTaskPushNotificationConfigParams params) throws JSONRPCError - Throws:
JSONRPCError
-
onDeleteTaskPushNotificationConfig
void onDeleteTaskPushNotificationConfig(DeleteTaskPushNotificationConfigParams params) throws JSONRPCError - Throws:
JSONRPCError
-