disconnect()
The disconnect() method of the HttpURLConnection class closes the connection to the web server.
Needed for HTTP/1.1 Keep-alive
Previous slide
Next slide
Back to first slide
View graphic version