SCJP Certification

Sun Certified Java Programmer Certification exam essentials

March 24th, 2010

What are the methods available in HTTP 1.1?

SCWCD, by Daisy Williams.

HTTP 1.1 defines eight request methods as follows:

  • GET: It is the default request method. It retrieves the resource identified by the request URL.
  • POST: It is used to send the data to be processed.
  • HEAD: It returns the headers identified by the request URL.
  • PUT: It stores a resource under the request URL.
  • DELETE: It removes the resource identified by the request URL.
  • OPTIONS: It returns the HTTP methods that the server supports.
  • CONNECT: It requests that a proxy establish a tunnel connection to a port on its behalf.
  • TRACE: It returns the header fields sent with the TRACE request.
  • Each of the above XXX request methods (except CONNECT) has a corresponding doXXX method in the HttpServlet class.

    Share

    Back Top

    Responses to “What are the methods available in HTTP 1.1?”

    Comments (0) Trackbacks (0) Leave a comment Trackback url
    1. No comments yet.
    1. No trackbacks yet.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *