Package | Description |
---|---|
com.thetransactioncompany.jsonrpc2 |
Classes to represent, parse and serialise JSON-RPC 2.0 requests,
notifications and responses.
|
com.thetransactioncompany.jsonrpc2.server |
Simple server framework for processing JSON-RPC 2.0 requests and
notifications.
|
Modifier and Type | Method and Description |
---|---|
static JSONRPC2Notification |
JSONRPC2Notification.parse(String jsonString)
Parses a JSON-RPC 2.0 notification string.
|
static JSONRPC2Notification |
JSONRPC2Notification.parse(String jsonString,
boolean preserveOrder)
Parses a JSON-RPC 2.0 notification string.
|
static JSONRPC2Notification |
JSONRPC2Notification.parse(String jsonString,
boolean preserveOrder,
boolean ignoreVersion)
Parses a JSON-RPC 2.0 notification string.
|
static JSONRPC2Notification |
JSONRPC2Notification.parse(String jsonString,
boolean preserveOrder,
boolean ignoreVersion,
boolean parseNonStdAttributes)
Parses a JSON-RPC 2.0 notification string.
|
JSONRPC2Notification |
JSONRPC2Parser.parseJSONRPC2Notification(String jsonString)
Parses a JSON-RPC 2.0 notification string.
|
Modifier and Type | Method and Description |
---|---|
void |
Dispatcher.dispatch(JSONRPC2Notification notification,
MessageContext notificationCtx)
Deprecated.
|
void |
NotificationHandler.process(JSONRPC2Notification notification,
MessageContext notificationCtx)
Processes a JSON-RPC 2.0 notification.
|
void |
Dispatcher.process(JSONRPC2Notification notification,
MessageContext notificationCtx) |