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.
-
HttpServlet()
-
-
service(HttpServletRequest, HttpServletResponse)
- Services a single HTTP request from the client.
-
service(ServletRequest, ServletResponse)
- Services a single request from the client.
HttpServlet
public HttpServlet()
service
public void service(ServletRequest req,
ServletResponse res) throws ServletException, IOException
- Services a single request from the client.
- Overrides:
- service in class GenericServlet
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