Download PDF Home History |  | API Search Feedback FAQ

> ## HTTP Requests

> An HTTP request consists of a request method, a request URL, header fields, and a body. HTTP 1.1 defines the following request methods:

> - `GET`: Retrieves the resource identified by the request URL
> - `HEAD`: Returns the headers identified by the request URL
> - `POST`: Sends data of unlimited length to the Web server
> - `PUT`: Stores a resource under the request URL
> - `DELETE`: Removes the resource identified by the request URL
> - `OPTIONS`: Returns the HTTP methods the server supports
> - `TRACE`: Returns the header fields sent with the `TRACE` request

> HTTP 1.0 includes only the `GET`, `HEAD`, and `POST` methods. Although J2EE servers are required to support only HTTP 1.0, in practice many servers, including the Sun Java System Application Server Platform Edition 8, support HTTP 1.1.

Download PDF Home History |  | API Search Feedback FAQ

All of the material in The J2EE(TM) 1.4 Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.