| javax.servlet.http.HttpServlet org.apache.cactus.sample.servlet.SampleServletConfig
SampleServletConfig | public class SampleServletConfig extends HttpServlet (Code) | | Sample servlet to show how to unit test a servlet that makes calls to
getServletConfig() , getServletContext() ,
log() , ... (i.e. methods inherited from
GenericServlet ).
version: $Id: SampleServletConfig.java 238835 2004-03-06 20:59:41Z vmassol $ |
getConfigData | public String getConfigData()(Code) | | Simulate a method that calls getServletConfig() .
some data retrieved from the servlet configuration. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|