Package io.quarkus.devui.runtime.jsonrpc
Class JsonRpcRequestCreator
java.lang.Object
io.quarkus.devui.runtime.jsonrpc.JsonRpcRequestCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(io.vertx.core.json.JsonObject jsonObject) This creates a Request as is from Dev UImcpCreate(io.vertx.core.json.JsonObject jsonObject) This creates a Request from an MCP Client.toJson(JsonRpcRequest jsonRpcRequest)
-
Constructor Details
-
JsonRpcRequestCreator
JsonRpcRequestCreator(JsonMapper jsonMapper)
-
-
Method Details
-
create
This creates a Request as is from Dev UI- Parameters:
jsonObject- the JsonObject from the JS- Returns:
- JsonRpcRequest
-
mcpCreate
This creates a Request from an MCP Client. It might contain meta data in the parameters that is not applicable for the Java method- Parameters:
jsonObject- the JsonObject from the MCP- Returns:
- JsonRpcRequest
-
toJson
-