I am trying to read HTTP response using the HTTPUrlConnection in Android.
The getcontent() method of HTTPUrlConnection says it returns "Object" representing the content. What type of object is this? It's just saying "object" which I believe is the root object. What method can I use to extract the contents?
Also, Instead if I use getInputStream() of HTTPUrlConnection and start reading it's contents, will it give me the data staring right from the headers or from the content?
Thanks.