Interface ResourceUpdateListener

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 interface ResourceUpdateListener
Functional interface for receiving resource update notifications. Implement this to handle changes to subscribed MCP resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when a subscribed resource has been updated.
  • Method Details

    • onResourceUpdated

      void onResourceUpdated(String uri)
      Called when a subscribed resource has been updated.
      Parameters:
      uri - The URI of the updated resource