title: How do I get the URL of a request?
body: <p>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.</p>
  
  <p>So if my service runs on <a href="http://www.somelocation.com/web/services" rel="noreferrer">http://www.somelocation.com/web/services</a> I want to capture the www.somelocation.com </p>
  
  <p>How can I do this ?</p>