Interface ResourceResolver

All Superinterfaces:
Resolver
All Known Subinterfaces:
ForwardResolver
All Known Implementing Classes:
NoopForwardResolver, NoopResourceResolver

public interface ResourceResolver extends Resolver
A resolver that consumes MCP requests and resolves what type of resource acquirer should handle it
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.quarkiverse.mcp.server.ResourceContents>
    read(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource)
    Read resources
  • Method Details

    • read

      List<io.quarkiverse.mcp.server.ResourceContents> read(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource)
      Read resources
      Parameters:
      arguments - the resource request arguments
      mcpResource - the resource to read
      Returns:
      the resource contents in a format specific to the content that had been read