Reputation: 1600
How can i retrieve client's ip (the remote ip) of the http request? I'm using JAX-RS with Restlet and not using servlets. Thanks.
Upvotes: 1
Views: 454
Reputation: 240898
You can do it by registering a custom request handler, here you will have access to request/response
Upvotes: 1