Details
-
Improvement
-
Status: Verified
-
Medium
-
Resolution: Done
-
None
-
None
-
None
-
None
Description
When calling remote RPC service using proxy, user should be able to explicity set RPC method name. Not every scenario can be modeled using java interface ("Namespace.Method.Name").
For example : https://kodi.wiki/view/JSON-RPC_API/v9
Another use case is when calling binding-bridge RPC service using "plain" proxy.
if you have RPC method "method-name", then it is modeled in java by using "methodName()" method.
No way you can force right form when calling it.
Solution is introduce annotation @JsonRpcMethod("method-name").