|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.barracudamvc.core.comp.helper.FormGateway
The purpose of this servlet is simply to process requests that come from a form and redirect based on the name of the button pressed.
Field Summary | |
static String |
FORM_EXT
|
static String |
FORM_TARGET
|
protected static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
FormGateway()
|
Method Summary | |
protected void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the DELETE request is mapped to the handleDefault method |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the GET request is mapped to the handleDefault method |
protected void |
doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the OPTIONS request is mapped to the handleDefault method |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the POST request is mapped to the handleDefault method |
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the PUT request is mapped to the handleDefault method |
protected void |
doTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
By default the TRACE request is mapped to the handleDefault method |
void |
handleDefault(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Handle the default HttpRequest. |
Methods inherited from class javax.servlet.http.HttpServlet |
doHead, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.log4j.Logger logger
public static String FORM_EXT
public static String FORM_TARGET
Constructor Detail |
public FormGateway()
Method Detail |
public void handleDefault(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
Handle the default HttpRequest.
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the GET request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the POST request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doOptions(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the OPTIONS request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the DELETE request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the PUT request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
protected void doTrace(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
By default the TRACE request is mapped to the handleDefault method
req
- the servlet requestresp
- the servlet response
javax.servlet.ServletException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |