Uses of Enum Class
org.springaicommunity.mcp.method.resource.AbstractMcpResourceMethodCallback.ContentType
Packages that use AbstractMcpResourceMethodCallback.ContentType
-
Uses of AbstractMcpResourceMethodCallback.ContentType in org.springaicommunity.mcp.method.resource
Fields in org.springaicommunity.mcp.method.resource declared as AbstractMcpResourceMethodCallback.ContentTypeModifier and TypeFieldDescriptionAbstractMcpResourceMethodCallback.AbstractBuilder.contentTypeprotected final AbstractMcpResourceMethodCallback.ContentTypeAbstractMcpResourceMethodCallback.contentTypeMethods in org.springaicommunity.mcp.method.resource that return AbstractMcpResourceMethodCallback.ContentTypeModifier and TypeMethodDescriptionAbstractMcpResourceMethodCallback.contentType()Returns the content type of the resource.Returns the enum constant of this class with the specified name.AbstractMcpResourceMethodCallback.ContentType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springaicommunity.mcp.method.resource with parameters of type AbstractMcpResourceMethodCallback.ContentTypeModifier and TypeMethodDescriptionAbstractMcpResourceMethodCallback.AbstractBuilder.contentType(AbstractMcpResourceMethodCallback.ContentType contentType) Set the content type.io.modelcontextprotocol.spec.McpSchema.ReadResourceResultDefaultMcpReadResourceResultConverter.convertToReadResourceResult(Object result, String requestUri, String mimeType, AbstractMcpResourceMethodCallback.ContentType contentType) Converts the method's return value to aMcpSchema.ReadResourceResult.io.modelcontextprotocol.spec.McpSchema.ReadResourceResultMcpReadResourceResultConverter.convertToReadResourceResult(Object result, String requestUri, String mimeType, AbstractMcpResourceMethodCallback.ContentType contentType) Converts the method's return value to aMcpSchema.ReadResourceResult.Constructors in org.springaicommunity.mcp.method.resource with parameters of type AbstractMcpResourceMethodCallback.ContentTypeModifierConstructorDescriptionprotectedAbstractMcpResourceMethodCallback(Method method, Object bean, String uri, String name, String description, String mimeType, McpReadResourceResultConverter resultConverter, io.modelcontextprotocol.util.McpUriTemplateManagerFactory uriTemplateMangerFactory, AbstractMcpResourceMethodCallback.ContentType contentType) Constructor for AbstractMcpResourceMethodCallback.