Class ResourceUpdatedNotification
java.lang.Object
org.apache.juneau.bean.mcp.v20260728.RequestParams<ResourceUpdatedNotification>
org.apache.juneau.bean.mcp.v20260728.ResourceUpdatedNotification
@Marshalled
public class ResourceUpdatedNotification
extends RequestParams<ResourceUpdatedNotification>
Params for the
notifications/resources/updated notification: a specific subscribed resource's
content changed.
Only ever delivered inside a subscriptions/listen stream the client opened; subscriptionId
rides in the inherited _meta (see RequestMeta.KEY_SUBSCRIPTION_ID), not as an own field.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUri()The URI of the resource that changed.Sets the URI of the resource that changed.Methods inherited from class org.apache.juneau.bean.mcp.v20260728.RequestParams
getMeta, setMeta
-
Constructor Details
-
ResourceUpdatedNotification
public ResourceUpdatedNotification()
-
-
Method Details
-
getUri
The URI of the resource that changed.- Returns:
- The URI, or
nullif unset.
-
setUri
Sets the URI of the resource that changed.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-