title: How do I get the URL for a Java Jersey Client request?
body: <p>Using Jersey in Java I have a response object</p>
  
  <pre><code>Client c=Client.create();
  WebResource r = c.resource("http://example.com/path");
  
  MultivaluedMap&lt;String, String&gt; params = new MultivaluedMapImpl();
      params.add("param1", value);
  
  r=r.path(getQualifiersByPromoServicePath).queryParams(params);
  
  ClientResponse response = r.accept(MediaType.APPLICATION_JSON_TYPE).get(ClientResponse.class);
  </code></pre>
  
  <p>How can I get the url used to make the request? (for debug purposes) 
  i.e. i want to get the string "http://example.com/path?param1=<em>value</em>" ?</p>