Class ResourceAcquirerProxy
java.lang.Object
ai.wanaku.routers.proxies.resources.ResourceAcquirerProxy
- All Implemented Interfaces:
Proxy,ResourceProxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.quarkiverse.mcp.server.ResourceContents> eval(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource) Eval an MCP URI handling it as appropriate by the component (i.e.: read a file, GET a static web page, etc.)getServiceConfigurations(String target) Retrieve configurations from the servicename()The name of the proxy
-
Constructor Details
-
ResourceAcquirerProxy
public ResourceAcquirerProxy()
-
-
Method Details
-
eval
public List<io.quarkiverse.mcp.server.ResourceContents> eval(io.quarkiverse.mcp.server.ResourceManager.ResourceArguments arguments, ResourceReference mcpResource) Description copied from interface:ResourceProxyEval an MCP URI handling it as appropriate by the component (i.e.: read a file, GET a static web page, etc.)- Specified by:
evalin interfaceResourceProxy- Parameters:
arguments- the resource request argumentsmcpResource- the resource to eval- Returns:
- Returns the data read by the proxy.
-
name
Description copied from interface:ProxyThe name of the proxy -
getServiceConfigurations
Description copied from interface:ProxyRetrieve configurations from the service- Specified by:
getServiceConfigurationsin interfaceProxy- Parameters:
target- the target service to retrieve configurations from- Returns:
- A map of configurations and their descriptions
-