public class Servlet extends HttpServlet
| Constructor and Description |
|---|
Servlet() |
| Modifier and Type | Method and Description |
|---|---|
void | destroy()Destroy the servlet and halt the addressbook daemon thread. |
void | init(ServletConfig config)Initialize the servlet and start the addressbook daemon thread. |
void | service(HttpServletRequest request,
HttpServletResponse response)Handle service requests. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicegetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void destroy()
destroy in interface Servletdestroy in class GenericServletpublic void init(ServletConfig config)
init in interface Servletinit in class GenericServletconfig - the servlet configurationpublic void service(HttpServletRequest request, HttpServletResponse response) throws IOException
service in class HttpServletrequest - the HTTP requestresponse - the HTTP responseIOException - if an I/O error occurs