The URL is constructed.
The URL's openConnection()
method creates the URLConnection
object.
The parameters for the connection and the request properties that the client sends to the server are set up.
The connect()
method
makes the connection to the server. (optional)
The response header information is read using getHeaderField()
.