How do I get the URL of a request?

Viewed 11499

I am using Jeresy Jax-RS to build a web service. Now I need to get the url of the request with the port # if one exist.

So if my service runs on http://www.somelocation.com/web/services I want to capture the www.somelocation.com

How can I do this ?

1 Answers
Related