Retrieve ip address of requesting client
----------------------------------------
Key: CLEREZZA-417
URL: https://issues.apache.org/jira/browse/CLEREZZA-417
Project: Clerezza
Issue Type: Question
Reporter: Oliver Strässer
Priority: Critical
Hi @ all
A little question about retrieving ip addresses in an jax rs framework.
I read, that I could retrieve the ip address of the requesting client with:
@Context HttpServletRequest req;
and the String ip = req.getRemoteAddr()
But the req object is everytime null.
is there a mistake or misunderstanding on my side?
cheers
oli
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira