|
||||||||||
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
net.dpml.test.http.DispatchServlet
public class DispatchServlet
Test Servlet RequestDispatcher.
Constructor Summary | |
---|---|
DispatchServlet()
|
Method Summary | |
---|---|
void |
destroy()
Destroy the servlet. |
void |
doGet(HttpServletRequest sreq,
HttpServletResponse sres)
Process a get request. |
void |
doPost(HttpServletRequest sreq,
HttpServletResponse sres)
Process a post request. |
String |
getServletInfo()
Return thr servlet info. |
void |
init(ServletConfig config)
Servlet initialization. |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DispatchServlet()
Method Detail |
---|
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- the servlet config
ServletException
- in an initialization error occurspublic void doPost(HttpServletRequest sreq, HttpServletResponse sres) throws ServletException, IOException
doPost
in class HttpServlet
sreq
- the servlet http requestsres
- the servlet http response
ServletException
- in a processing error occurs
IOException
- in an I/O error occurspublic void doGet(HttpServletRequest sreq, HttpServletResponse sres) throws ServletException, IOException
doGet
in class HttpServlet
sreq
- the servlet http requestsres
- the servlet http response
ServletException
- in a processing error occurs
IOException
- in an I/O error occurspublic String getServletInfo()
getServletInfo
in interface Servlet
getServletInfo
in class GenericServlet
public void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |