there is a java.net.HttpURLConnection; we all know what it is doing
but what is sun.net.www.protocol.http.HttpURLConnection;
When I import it sun.net.www.protocol.http,
netBeans said importing from forbidden package, what is forbidden package term mean, (I KNOW what is forbidden in English mean. )
What is this package, it gives me hard times,
when you try to cast HttpInputStream to BufferedInputStream I have
Although HttpInputStream is BufferedInputStream according to http://nitric.com/jnp/javadoc/alphabetically/HttpInputStream.html
I think it is the same BufferedInputStream but with different class signature (I mean the classes consist of different things), if you look into that link BufferedInputStream contains a method ensureOpen(), however our
BufferedInputStream is not containing anything like that not even protected or private method (I check that).
What is that, I mean really??