You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by Mr Alireza Fattahi <af...@yahoo.com> on 2006/10/14 12:07:15 UTC
Access Client Information in RPC Classes
Hi,
We are using the xml-rpc to write an RPC Server Servlet by extending XmlRpcServlet.
The XmlRpcServlet class uses XmlRpcServlet.properties to find the actual classes that it should invoke for client requests.
Imaging that this file contains below line:
Subscription=com.sample.SubscribeRPC
Now, my question is:
Can we access the Client IP, BasicPassword and BasicUserName while we are writing the SubscribeRPC class?
These informations are available in XmlRpcServlet, but it seems that we can not access these in our RPC classes.
Should our SubscribeRPC class extends any super class to access these information?
Regards,
Alireza Fattahi
Send instant messages to your online friends http://uk.messenger.yahoo.com