Quantcast
Channel: What exactly does URLConnection.setDoOutput() affect? - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by Mithun Sasidharan for What exactly does URLConnection.setDoOutput() affect?

$
0
0
public void setDoOutput( boolean dooutput )

It takes a value as the parameter and sets this value of the doOutput field for this URLConnection to the specified value.

A URL connection can be used for input and/or output. Set the DoOutput flag to true if you intend to use the URL connection for output, false if not. The default is false.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>