Each HttpURLConnection instance is used to make a single request but the underlying network connection to the HTTP server may be transparently shared by other instances.
Calling the close() methods on the InputStream or OutputStream of an HttpURLConnection after a request may free network resources associated with this instance but has no effect on any shared persistent connection.
Calling the disconnect() method may close the underlying socket if a persistent connection is otherwise idle at that time.
調用斷開()方法可能關閉底層的套接字如果持久連接空閑。
The HTTP protocol handler has a few settings that can be accessed through System Properties. This covers Proxy settings as well as various other settings.?