Uses of Class
org.apache.juneau.rest.server.mcp.McpResourceSpec
Packages that use McpResourceSpec
Package
Description
Revision-neutral core for MCP endpoints built on
juneau-rest-server.-
Uses of McpResourceSpec in org.apache.juneau.rest.server.mcp
Methods in org.apache.juneau.rest.server.mcp that return McpResourceSpecModifier and TypeMethodDescriptionMcpResourceHandler.descriptor()Returns the static descriptor for this resource.McpResourceSpec.setDescription(String value) Sets the resource description.McpResourceSpec.setMimeType(String value) Sets the resource's media type.Sets the resource name.Sets the resource's size in bytes.Sets the resource title.Sets the resource URI.Methods in org.apache.juneau.rest.server.mcp with parameters of type McpResourceSpecModifier and TypeMethodDescriptionstatic McpResourceHandlerMcpResourceHandler.of(McpResourceSpec descriptor, BiFunction<String, BeanStore, McpResourceOutcome> read) Builds a handler from a fixed descriptor and areadlambda.