Class java.servlet.http.HttpServlet
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.servlet.http.HttpServlet

java.lang.Object
   |
   +----java.servlet.GenericServlet
           |
           +----java.servlet.http.HttpServlet

public class HttpServlet
extends GenericServlet
Convenience class for implementing HTTP specific servlets.

Constructor Index

 o HttpServlet()

Method Index

 o service(HttpServletRequest, HttpServletResponse)
Services a single HTTP request from the client.
 o service(ServletRequest, ServletResponse)
Services a single request from the client.

Constructors

 o HttpServlet
  public HttpServlet()

Methods

 o service
  public void service(ServletRequest req,
                      ServletResponse res) throws ServletException, IOException
Services a single request from the client.
Overrides:
service in class GenericServlet
 o service
  public abstract void service(HttpServletRequest req,
                               HttpServletResponse res) throws ServletException, IOException
Services a single HTTP request from the client.
Parameters:
req - the HTTP servlet request
res - the HTTP servlet response
Throws: ServletException
if a servlet exception has occurred
Throws: IOException
if an I/O exception has occurred

All Packages  Class Hierarchy  This Package  Previous  Next  Index