public interface RequestHandler| Modifier and Type | Method and Description |
|---|---|
String[] | handledRequests()Gets the names of the handled JSON-RPC 2.0 request methods. |
JSONRPC2Response | process(JSONRPC2Request request,
MessageContext requestCtx)Processes a JSON-RPC 2.0 request. |
String[] handledRequests()
JSONRPC2Response process(JSONRPC2Request request, MessageContext requestCtx)
request - A valid JSON-RPC 2.0 request instance. Must not be
null.requestCtx - Context information about the request message, may
be null if undefined.