ContextType - Service request context type (will be used as context for request handlers).@FunctionalInterface public interface ReturningMethod<ContextType extends ContextInterface>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ReturningMethod.RequestHandler<ContextType extends ContextInterface>
JSON-RPC call handler.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
process(com.thetransactioncompany.jsonrpc2.JSONRPC2Request request,
ContextType context)
Handles method call.
|
Object process(com.thetransactioncompany.jsonrpc2.JSONRPC2Request request, ContextType context) throws com.thetransactioncompany.jsonrpc2.JSONRPC2Error
request - Request call.context - Execution context.com.thetransactioncompany.jsonrpc2.JSONRPC2Error - Error during JSON-RPC call handling.Copyright © 2015 RafaĆ Wrzeszcz - Wrzasq.pl. All rights reserved.