I'm looking for the actual code implementation of connect()
& disconnect()
in java.net.URLConnection.java
& java.net.HttpURLConnection.java
.
@ In the following link,
Where is connect() and disconnect() implemented?
Martin Hansen answered that several implementations are out there such as AbstractDelegateHttpsURLConnection
.
(Further search, com.squareup.okhttp.internal.http.HttpURLConnectionImpl
)
I want to know which implementation of HttpURLConnection
is used in Android to connect to and disconnect from the server via HTTP.