public final class FrontController
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
FrontController() |
Modifier and Type | Method and Description |
---|---|
void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doDelete() method.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doGet() method.
|
void |
doHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doHead() method.
|
void |
doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doOptions() method.
|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doPost() method.
|
void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doPut() method.
|
void |
doTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Overrides the HttpServlet doTrace() method.
|
static String |
getJSPErrorFile() |
static String |
getJSPPath() |
void |
init()
The init method gets the values of the init params from the web.xml file.
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
HttpMethod httpMethod) |
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public static String getJSPPath()
public static String getJSPErrorFile()
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doPut
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doDelete
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doHead(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doHead
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doTrace(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doTrace
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
public void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doOptions
in class javax.servlet.http.HttpServlet
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
protected void processRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, HttpMethod httpMethod) throws javax.servlet.ServletException, IOException
req
- an HttpServletRequest instance referenceres
- an HttpServletResponse instance referencejavax.servlet.ServletException
IOException
Copyright © 2011-2012 MojaveMVC.org