public class AdvancedSettingsHandler extends Object implements RequestHandler
| Constructor and Description |
|---|
AdvancedSettingsHandler(RouterContext ctx,
JSONRPC2Helper helper)
Constructor for advanced settings handler.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
handledRequests()
Gets the names of the handled JSON-RPC 2.0 request methods.
|
JSONRPC2Response |
process(JSONRPC2Request req,
MessageContext ctx)
Processes a JSON-RPC 2.0 request.
|
public AdvancedSettingsHandler(RouterContext ctx, JSONRPC2Helper helper)
ctx - router contexthelper - JSON-RPC helper instancepublic String[] handledRequests()
RequestHandlerhandledRequests in interface RequestHandlerpublic JSONRPC2Response process(JSONRPC2Request req, MessageContext ctx)
RequestHandlerprocess in interface RequestHandlerreq - A valid JSON-RPC 2.0 request instance. Must not be
null.ctx - Context information about the request message, may
be null if undefined.