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, servicepublic WikiServlet()
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void destroy()
WikiEngine.shutdown(), which sends WikiEngineEvent.SHUTDOWN
events to registered listeners.destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletGenericServlet.destroy()public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.io.IOException, javax.servlet.ServletException
doPost in class javax.servlet.http.HttpServletjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.io.IOException, javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletjava.io.IOExceptionjavax.servlet.ServletExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.