net.dpml.test.http
Class SessionDump

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bynet.dpml.test.http.SessionDump
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class SessionDump
extends HttpServlet

Test Servlet Sessions.

Author:
Greg Wilkins (gregw)
See Also:
Serialized Form

Constructor Summary
SessionDump()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process an incomming get request.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Process an incomming post request.
 String getServletInfo()
          Return the 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
destroy, 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

SessionDump

public SessionDump()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Servlet initialization.

Parameters:
config - the servlet configuration
Throws:
ServletException - if a configuration error occurs

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException,
                   IOException
Process an incomming post request.

Parameters:
request - the http request
response - the http response
Throws:
ServletException - if a servlet processing error occurs
IOException - if an IO error occurs

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Process an incomming get request.

Parameters:
request - the http request
response - the http response
Throws:
ServletException - if a servlet processing error occurs
IOException - if an IO error occurs

getServletInfo

public String getServletInfo()
Return the servlet info.

Returns:
the info