/** * Simple server framework for processing JSON-RPC 2.0 requests and * notifications. * *

Usage: * *

    *
  1. Implement {@link com.thetransactioncompany.jsonrpc2.server.RequestHandler request} * and / or {@link com.thetransactioncompany.jsonrpc2.server.NotificationHandler notification} * handlers for the various expected JSON-RPC 2.0 messages. A handler * may process one or more request/notification methods (identified by * method name). *
  2. Create a new {@link com.thetransactioncompany.jsonrpc2.server.Dispatcher} * and register the handlers with it. *
  3. Pass the received JSON-RPC 2.0 requests and notifications to the * appropriate {@code Dispatcher.dispatch(...)} method, then, if the * message is a request, pass the resulting JSON-RPC 2.0 response back * to the client. *
* *

Direct package dependencies: * *

* * @author Vladimir Dzhuvinov */ package com.thetransactioncompany.jsonrpc2.server;