Class JsonRpcResponse

java.lang.Object
org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
org.forgerock.openig.mcp.jsonrpc.JsonRpcResponse
Direct Known Subclasses:
JsonRpcResponse.JsonRpcError, JsonRpcResponse.JsonRpcResult

public abstract sealed class JsonRpcResponse extends JsonRpcPayload permits JsonRpcResponse.JsonRpcResult, JsonRpcResponse.JsonRpcError
Represents a JSON-RPC response message, either a result or an error.
  • Method Details

    • id

      public JsonValue id()
      Returns the id of this response, may be String, Number or null.
      Returns:
      the id of this response, may be String, Number or null