public class ServletApplication
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static Path |
DOC_PATH
The documentation storage path.
|
Constructor and Description |
---|
ServletApplication() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Uninitializes this servlet.
|
void |
init()
Initializes this servlet.
|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Processes a servlet request.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public static final Path DOC_PATH
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if the initialization failedpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
protected void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
service
in class javax.servlet.http.HttpServlet
req
- the servlet requestresp
- the servlet responsejavax.servlet.ServletException
- if an internal error occurred when processing
the requestjava.io.IOException
- if an IO error occurred when processing the request