Package com.thetransactioncompany.jsonrpc2.server

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

See:
          Description

Interface Summary
NotificationHandler Interface for handling JSON-RPC 2.0 notifications.
RequestHandler Interface for handling JSON-RPC 2.0 requests.
 

Class Summary
Dispatcher Dispatcher for JSON-RPC 2.0 requests and notifications.
MessageContext Context information about JSON-RPC 2.0 request and notification messages.
 

Package com.thetransactioncompany.jsonrpc2.server Description

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

Usage:

  1. Implement request and / or 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 Dispatcher and register the handlers with it.
  3. Pass the received JSON-RPC 2.0 requests and notifications to the appropriate 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


Copyright © 2013 The Transaction Company. All Rights Reserved.