Package io.modelcontextprotocol.spec
Interface DefaultMcpSession.NotificationHandler
- Enclosing class:
- DefaultMcpSession
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for handling incoming JSON-RPC notifications. Implementations
should process the notification parameters without returning a response.
-
Method Summary
-
Method Details
-
handle
Handles an incoming notification with the given parameters.- Parameters:
params- The notification parameters- Returns:
- A Mono that completes when the notification is processed
-