Problem in getting url.getContent()
<p>I have a problem in my hand.</p>

<p>I have a URL, And when i initiate the connect to this url and execute url.getContent().
The response is of type <code>sun.net.www.protocol.http.HttpURLConnection$HttpInputStream</code></p>

<p>I tried to assign the output to <code>HttpURLConnectionHttpInputStream h = url.getContent()</code>. But i was unsuccessful.
I imported corresponding libraries to code, but still no luck.</p>

<p>If i inspect the url.getContent() in eclipse, it also shows the variable thei$0 in it.</p>

<p>All i need is a URL in this$0. But till now i am unable to retreive it.</p>

<p><img src="http://i.stack.imgur.com/kZQBb.png" alt="Output when i inspect the element"></p>

<p>In this$0 there is a variable names url and i am trying to fetch it.</p>

<p>I also have hard time understand this$0 and hoe to retrieve it.</p>

<p>After using the streams i get some non readable output</p>

<p><img src="http://i.stack.imgur.com/Tqgp0.png" alt="After using strams to read the content"></p>

<p>Regards 
Dheeraj Joshi </p>
