Changing name of remote method

30 views
Skip to first unread message

Łukasz Dolata

unread,
Apr 16, 2013, 7:42:18 AM4/16/13
to json...@googlegroups.com
Hello,

Is there any change of execute different name of method than method defined in interface

By example:

 @JsonRpcMethod (name="add-something")
 public void addSomthing ();

Thank in advance for help.

Regards
Lucas Dolata

Eduard Szente

unread,
Apr 16, 2013, 7:58:56 AM4/16/13
to json...@googlegroups.com
Hi,

afaik this is not possible when using proxies created with com.googlecode.jsonrpc4j.ProxyUtil. However you can still use com.googlecode.jsonrpc4j.JsonRpcHttpClient directly.

regards, Eduard

Brian C. Dilley

unread,
Apr 16, 2013, 1:41:11 PM4/16/13
to json...@googlegroups.com
Eduard is correct, but this is only true for the client and doesn't work for the server.  If you'd like to see this feature added, create a ticket.
--
You received this message because you are subscribed to the Google Groups "jsonrpc4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonrpc4j+...@googlegroups.com.
To post to this group, send email to json...@googlegroups.com.
Visit this group at http://groups.google.com/group/jsonrpc4j?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages