|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestHandler
Interface for handling JSON-RPC 2.0 requests.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |