Uses of Interface
io.modelcontextprotocol.spec.McpSchema.ResourceContents
Packages that use McpSchema.ResourceContents
-
Uses of McpSchema.ResourceContents in io.modelcontextprotocol.client
Method parameters in io.modelcontextprotocol.client with type arguments of type McpSchema.ResourceContentsModifier and TypeMethodDescriptionMcpClient.AsyncSpec.resourcesUpdateConsumer(Function<List<McpSchema.ResourceContents>, reactor.core.publisher.Mono<Void>> resourcesUpdateConsumer) Adds a consumer to be notified when a specific resource is updated. -
Uses of McpSchema.ResourceContents in io.modelcontextprotocol.spec
Classes in io.modelcontextprotocol.spec that implement McpSchema.ResourceContentsModifier and TypeClassDescriptionstatic final recordBinary contents of a resource.static final recordText contents of a resource.Methods in io.modelcontextprotocol.spec that return McpSchema.ResourceContentsModifier and TypeMethodDescriptionMcpSchema.EmbeddedResource.resource()Returns the value of theresourcerecord component.Methods in io.modelcontextprotocol.spec that return types with arguments of type McpSchema.ResourceContentsModifier and TypeMethodDescriptionMcpSchema.ReadResourceResult.contents()Returns the value of thecontentsrecord component.Constructors in io.modelcontextprotocol.spec with parameters of type McpSchema.ResourceContentsModifierConstructorDescriptionEmbeddedResource(McpSchema.Annotations annotations, McpSchema.ResourceContents resource) EmbeddedResource(McpSchema.Annotations annotations, McpSchema.ResourceContents resource, Map<String, Object> meta) Creates an instance of aEmbeddedResourcerecord class.EmbeddedResource(List<McpSchema.Role> audience, Double priority, McpSchema.ResourceContents resource) Deprecated.Only exists for backwards-compatibility purposes.Constructor parameters in io.modelcontextprotocol.spec with type arguments of type McpSchema.ResourceContentsModifierConstructorDescriptionReadResourceResult(List<McpSchema.ResourceContents> contents) ReadResourceResult(List<McpSchema.ResourceContents> contents, Map<String, Object> meta) Creates an instance of aReadResourceResultrecord class.