public class WikiServlet extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
WikiServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the WikiServlet; called by the servlet container
when shutting down the webapp.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public WikiServlet()
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
WikiEngine.shutdown()
, which
sends WikiEngineEvent.SHUTDOWN
events to registered listeners.destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
GenericServlet.destroy()
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.