Package org.forgerock.openig.mcp.jsonrpc
Class JsonRpcRequest
java.lang.Object
org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
org.forgerock.openig.mcp.jsonrpc.JsonRpcRequest
A guaranteed valid JSON-RPC Request object.
-
Field Summary
Fields inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
lazyJsonValue, payload -
Method Summary
Methods inherited from class org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
asJsonValue, toJsonRpcMessage, validate
-
Method Details
-
method
Returns the method name of this request.- Returns:
- the method name of this request
-
isNotification
public boolean isNotification()Returns true if this request is a notification.- Returns:
- true if this request is a notification
-
id
Returns the id of this request, may be String, Number or null..- Returns:
- the id of this request, may be String, Number or null
-