title: Print contents of HttpParams / HttpUriRequest?
body: <p>I have an <a href="http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/index.html?org/apache/http/client/methods/HttpUriRequest.html" rel="nofollow" title="API-Doc of HttpUriRequest">HttpUriRequest</a> instance, is there a way to print all the parameters it contains? For example, I can almost get them like:</p>
  
  <pre><code>HttpUriRequest req = ...;
  HttpParams params = req.getParams();
  for (int i = 0; i &lt; params.size(); i++) { // ?
      println(params.getParam(i); // ?
  }
  </code></pre>
  
  <p>Is there a way to do this?</p>
  
  <p>Thanks</p>