In java.net.URLConnetion.java
and java.net.HttpURLConnection.java
, there are only abstract methods for connect()
and disconnect()
, respectively.
@ abstract public void connect() throws IOException;
@ public abstract void disconnect();
Does anyone know where is the actual codes that implement them?
I want to know how the HttpURLConnection
communicate with TCP stack.
Besides, there are more abstract functions, such as usingProxy()
. Where is the code for them?