URLConnection six steps:

  1. The URL is constructed.

  2. The URL's openConnection() method creates the URLConnection object.

  3. The parameters for the connection and the request properties that the client sends to the server are set up.

  4. The connect() method makes the connection to the server. (optional)

  5. The response header information is read using getHeaderField().

  6. The data is read from an InputStream


Previous | Next | Top | Cafe con Leche

Copyright 2000 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified November 8, 2000