Package org.apache.juneau.rest.client.mcp.v20260728
package org.apache.juneau.rest.client.mcp.v20260728
Typed MCP client adapter for revision
2026-07-28.-
ClassDescriptionStatic helper for reading server→client MCP
2026-07-28SEP-2322 elicitation requests out ofMcpClient.callRaw(java.lang.String, org.apache.juneau.bean.mcp.v20260728.RequestParams<?>)'s rawMap<String,Object>result (MRTR, the Multi-Round-Trip Requests loop, client side).Static helper for encoding the client's answers to server→client MCP2026-07-28SEP-2322 elicitation requests back into the rawinputResponseswire shape a resume call expects (MRTR, the Multi-Round-Trip Requests loop, client side).Typed2026-07-28 Model Context Protocol (MCP) client facade.Fluent builder forMcpClient.Caller-supplied callback that answers one round of server→client MCP2026-07-28SEP-2322 elicitation requests during a client-side Multi-Round-Trip-Request (MRTR) auto-resume loop.Thrown by the client-side MRTR (SEP-2322) auto-resume helpers (McpClient.callToolWithElicitation(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>, org.apache.juneau.rest.client.mcp.v20260728.McpElicitationHandler),McpClient.getPromptWithElicitation(java.lang.String, java.util.Map<java.lang.String, java.lang.Object>, org.apache.juneau.rest.client.mcp.v20260728.McpElicitationHandler),McpClient.readResourceWithElicitation(java.lang.String, org.apache.juneau.rest.client.mcp.v20260728.McpElicitationHandler)) when a server keeps returninginput_requiredpauses past the loop's configured maximum number of resume rounds.Discriminates which MCP2026-07-28list-changed notification aMcpSubscriptionListener.onListChanged(McpListChangedKind)callback is reporting.Closeable handle for a liveMcpClient.listen(org.apache.juneau.bean.mcp.v20260728.SubscriptionFilter, McpSubscriptionListener)subscription.Typed callback sink forMcpClient.listen(SubscriptionFilter, McpSubscriptionListener)frames.