Package net.i2p.addressbook.servlet
Class Servlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.i2p.addressbook.servlet.Servlet
- All Implemented Interfaces:
Serializable
,Servlet
,ServletConfig
A wrapper for addressbook to allow it to be started as a web application.
This was a GenericServlet, we make it an HttpServlet solely to provide a
simple page to display status.
- Since:
- 0.9.30 moved from addressbook to SusiDNS
- Author:
- Ragnarok
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
void
init
(ServletConfig config) void
service
(HttpServletRequest request, HttpServletResponse response) Simple output to verify that the addressbook servlet is running.Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
Servlet
public Servlet()
-
-
Method Details
-
service
Simple output to verify that the addressbook servlet is running. (non-Javadoc) see javax.servlet.Servlet#service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)- Overrides:
service
in classHttpServlet
- Throws:
IOException
-
init
- Specified by:
init
in interfaceServlet
- Overrides:
init
in classGenericServlet
-
destroy
public void destroy()- Specified by:
destroy
in interfaceServlet
- Overrides:
destroy
in classGenericServlet
-