Class McpRoutingNames

java.lang.Object
org.apache.juneau.bean.mcp.v20260728.McpRoutingNames

public final class McpRoutingNames extends Object
Shared SEP-2243 routing-name helper used by both the 2026-07-28 server adapter and client adapter.
Since:
10.0.0
  • Method Details

    • routingName

      public static String routingName(String method, Object params)
      Returns the routing name for Mcp-Name agreement checks and client header stamping.
      Parameters:
      method - The JSON-RPC method name.
      params - The request params object.
      Returns:
      The routing name, or empty string.