Java: What is the purpose of setDoInput in URLConnection

http-post, java, urlconnection

Solution

I've never encountered a case for setting it false. You always want to read something, at least the response code.

Problem

Possible Duplicate: Java HttpURLConnection Would this method be used for example if I want to read the response to a POST method call from the server I am connected to?

Original source

Related problems