title: Get page content from Apache Commons HTTP Request
body: <p>So I'm using Apache Commons HTTP to make a request to a webpage.  I cannot for the life of me figure out how to get the actual content from the page, I can just get its header information.  How can I get the actual content from it?</p>
  <p>Here is my example code:</p>
  <pre><code>HttpGet request = new HttpGet(&quot;http://URL_HERE/&quot;);
  
  HttpClient httpClient = new DefaultHttpClient();
  HttpResponse response = httpClient.execute(request);
  
  System.out.println(&quot;Response: &quot; + response.toString());
  </code></pre>