public interface RequestHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
handledRequests()
Gets the names of the handled JSON-RPC 2.0 request methods.
|
com.thetransactioncompany.jsonrpc2.JSONRPC2Response |
process(com.thetransactioncompany.jsonrpc2.JSONRPC2Request request,
MessageContext requestCtx)
Processes a JSON-RPC 2.0 request.
|
java.lang.String[] handledRequests()
com.thetransactioncompany.jsonrpc2.JSONRPC2Response process(com.thetransactioncompany.jsonrpc2.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.Copyright © 2021 The Transaction Company. All Rights Reserved.