Class JsonRpcRequest

java.lang.Object
org.forgerock.openig.mcp.jsonrpc.JsonRpcPayload
org.forgerock.openig.mcp.jsonrpc.JsonRpcRequest

public final class JsonRpcRequest extends JsonRpcPayload
A guaranteed valid JSON-RPC Request object.
  • Method Details

    • method

      public String 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

      public JsonValue 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