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.
|
net.i2p.i2pcontrol.servlets.jsonrpc2handlers |
Modifier and Type | Method and Description |
---|---|
static JSONRPC2Request |
JSONRPC2Request.parse(String jsonString)
Parses a JSON-RPC 2.0 request string.
|
static JSONRPC2Request |
JSONRPC2Request.parse(String jsonString,
boolean preserveOrder)
Parses a JSON-RPC 2.0 request string.
|
static JSONRPC2Request |
JSONRPC2Request.parse(String jsonString,
boolean preserveOrder,
boolean ignoreVersion)
Parses a JSON-RPC 2.0 request string.
|
static JSONRPC2Request |
JSONRPC2Request.parse(String jsonString,
boolean preserveOrder,
boolean ignoreVersion,
boolean parseNonStdAttributes)
Parses a JSON-RPC 2.0 request string.
|
JSONRPC2Request |
JSONRPC2Parser.parseJSONRPC2Request(String jsonString)
Parses a JSON-RPC 2.0 request string.
|
Modifier and Type | Method and Description |
---|---|
JSONRPC2Response |
Dispatcher.dispatch(JSONRPC2Request request,
MessageContext requestCtx)
Deprecated.
|
JSONRPC2Response |
RequestHandler.process(JSONRPC2Request request,
MessageContext requestCtx)
Processes a JSON-RPC 2.0 request.
|
JSONRPC2Response |
Dispatcher.process(JSONRPC2Request request,
MessageContext requestCtx) |
Modifier and Type | Method and Description |
---|---|
JSONRPC2Response |
EchoHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
RouterInfoHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
AuthenticateHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
RouterManagerHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
NetworkSettingHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
AdvancedSettingsHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
GetRateHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Response |
I2PControlHandler.process(JSONRPC2Request req,
MessageContext ctx) |
JSONRPC2Error |
JSONRPC2Helper.validateParams(String[] requiredArgs,
JSONRPC2Request req)
Check incoming request for required arguments, to make sure they are valid.
|
JSONRPC2Error |
JSONRPC2Helper.validateParams(String[] requiredArgs,
JSONRPC2Request req,
Boolean useAuth)
Check incoming request for required arguments, to make sure they are valid.
|