The package http provides functions which can be differentiated in two blocks:

  • HTTP Connection: allows to establish URL connections with HTTP servers, to obtain the content (source code) of the established connection, to handle cookies...
  • HTTP Request and HTTP Session: provides information of the request for HTTP servlets to obtain values of parameters, information about the address from which the petition is performed, session attributes...

1 http

All the HTTP package functions described below are also valid for secure http connections.