Interface JsonRpcService
- All Superinterfaces:
ServerLifecycle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface that must be implemented by all JSON-RPC services. The single
routing(JsonRpcRules) method is used to update the routes.-
Method Summary
Modifier and TypeMethodDescriptionvoidrouting(JsonRpcRules rules) Update JSON-RPC rules for this service.Methods inherited from interface ServerLifecycle
afterStart, afterStop, beforeStartModifier and TypeMethodDescriptiondefault voidafterStart(WebServer webServer) After server start.default voidAfter server stop.default voidBefore server start.
-
Method Details
-
routing
Update JSON-RPC rules for this service.- Parameters:
rules- the rules to update
-