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.GenericServletjavax.servlet.ServletExceptionpublic 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.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doDelete in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doHead in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doTrace in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionpublic void doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doOptions in class javax.servlet.http.HttpServletreq - an HttpServletRequest instance referenceres - an HttpServletResponse instance referencejavax.servlet.ServletExceptionIOExceptionprotected 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.ServletExceptionIOExceptionCopyright © 2011-2012 MojaveMVC.org