Java: what is the purpose of setDoInput in URLConnection

Possible duplicate:
Java HttpURLConnection

Will this method be used, for example, if I want to read the response to a call to the POST method from the server to which I am connected?

+7
source share
1 answer

I have never met a case to set it to false. You always want to read something, at least the response code.

+6
source

All Articles