See: Description
| Interface | Description |
|---|---|
| NotificationHandler |
Interface for handling JSON-RPC 2.0 notifications.
|
| RequestHandler |
Interface for handling JSON-RPC 2.0 requests.
|
| Class | Description |
|---|---|
| Dispatcher |
Dispatcher for JSON-RPC 2.0 requests and notifications.
|
| MessageContext |
Context information about JSON-RPC 2.0 request and notification messages.
|
Usage:
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).
Dispatcher
and register the handlers with it.
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:
MessageContext
objects from HTTP servlet requests.