All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Serve.servlet.http.HttpServlet
java.lang.Object
|
+----Acme.Serve.servlet.GenericServlet
|
+----Acme.Serve.servlet.http.HttpServlet
- public abstract class HttpServlet
- extends GenericServlet
- implements Serializable
The HTTP servlet class.
HttpServlets are little Java programs that can be hooked into an HTTP
server and run in response to URLs.
This is taken from JavaSoft's Servlet API documentation.
Fetch the software.
Fetch the entire Acme package.
- See Also:
- SampleServlet, Serve
-
HttpServlet()
-
-
service(HttpServletRequest, HttpServletResponse)
- Services a single HTTP request from the client.
-
service(ServletRequest, ServletResponse)
- Services a single generic request from the client.
HttpServlet
public HttpServlet()
service
public abstract void service(HttpServletRequest req,
HttpServletResponse res) throws ServletException, IOException
- Services a single HTTP request from the client.
- Parameters:
- req - the HTTP request
- req - the HTTP response
- Throws: ServletException
- when a Servlet exception has occurred
- Throws: IOException
- when an I/O exception has occurred
service
public void service(ServletRequest req,
ServletResponse res) throws ServletException, IOException
- Services a single generic request from the client.
(This is required by the peculiar inheritance structure.)
- Parameters:
- req - the servlet request
- req - the servlet response
- Throws: ServletException
- when a Servlet exception has occurred
- Throws: IOException
- when an I/O exception has occurred
- Overrides:
- service in class GenericServlet
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs