
com.thetransactioncompany.jsonrpc2.server.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsonrpc2-server Show documentation
Show all versions of jsonrpc2-server Show documentation
Simple server framework for processing JSON-RPC 2.0
requests and notifications.
The newest version!
/**
* Simple server framework for processing JSON-RPC 2.0 requests and
* notifications.
*
* Usage:
*
*
* - 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).
*
- Create a new {@link com.thetransactioncompany.jsonrpc2.server.Dispatcher}
* and register the handlers with it.
*
- 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:
*
*
* - JSON-RPC 2.0 Base
* [com.thetransactioncompany.jsonrpc2] to construct and represent
* JSON-RPC 2.0 messages.
*
- Java Servlet API [javax.servlet.http] for constructing
* {@link com.thetransactioncompany.jsonrpc2.server.MessageContext}
* objects from HTTP servlet requests.
*
*
* @author Vladimir Dzhuvinov
*/
package com.thetransactioncompany.jsonrpc2.server;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy