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.

@FunctionalInterface public static interface DefaultMcpSession.NotificationHandler
Functional interface for handling incoming JSON-RPC notifications. Implementations should process the notification parameters without returning a response.
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Void>
    handle(Object params)
    Handles an incoming notification with the given parameters.
  • Method Details

    • handle

      reactor.core.publisher.Mono<Void> handle(Object params)
      Handles an incoming notification with the given parameters.
      Parameters:
      params - The notification parameters
      Returns:
      A Mono that completes when the notification is processed