Uses of Interface
org.mcpjava.server.resources.ResourceResponse
Packages that use ResourceResponse
Package
Description
Define MCP resources and resource templates.
Mechanism for providing the implementation of the API.
-
Uses of ResourceResponse in org.mcpjava.server.resources
Methods in org.mcpjava.server.resources that return ResourceResponseModifier and TypeMethodDescriptionResourceResponse.Builder.build()Builds the resource read responsestatic ResourceResponseCreates a newResourceResponsewith binary content and no MIME typestatic ResourceResponseCreates a newResourceResponsewith binary content and MIME typestatic ResourceResponseCreates a newResourceResponsewith text content and no MIME typestatic ResourceResponseCreates a newResourceResponsewith text content and MIME type -
Uses of ResourceResponse in org.mcpjava.server.spi
Methods in org.mcpjava.server.spi that return ResourceResponseModifier and TypeMethodDescriptiondefault ResourceResponseMcpServerSPI.resourceBlobResponse(String uri, byte[] data) Creates a newResourceResponsewith binary content and no MIME typedefault ResourceResponseMcpServerSPI.resourceBlobResponse(String uri, byte[] data, String mimeType) Creates a newResourceResponsewith binary content and the given MIME typedefault ResourceResponseMcpServerSPI.resourceTextResponse(String uri, String text) Creates a newResourceResponsewith text content and no MIME typedefault ResourceResponseMcpServerSPI.resourceTextResponse(String uri, String text, String mimeType) Creates a newResourceResponsewith text content and the given MIME type