public static class Example.DateTimeHandler extends Object implements RequestHandler
Constructor and Description |
---|
Example.DateTimeHandler() |
Modifier and Type | Method and Description |
---|---|
String[] |
handledRequests()
Gets the names of the handled JSON-RPC 2.0 request methods.
|
com.thetransactioncompany.jsonrpc2.JSONRPC2Response |
process(com.thetransactioncompany.jsonrpc2.JSONRPC2Request req,
MessageContext ctx)
Processes a JSON-RPC 2.0 request.
|
public Example.DateTimeHandler()
public String[] handledRequests()
RequestHandler
handledRequests
in interface RequestHandler
public com.thetransactioncompany.jsonrpc2.JSONRPC2Response process(com.thetransactioncompany.jsonrpc2.JSONRPC2Request req, MessageContext ctx)
RequestHandler
process
in interface RequestHandler
req
- A valid JSON-RPC 2.0 request instance. Must not be
null
.ctx
- Context information about the request message, may
be null
if undefined.Copyright © 2015 The Transaction Company. All Rights Reserved.