DJDoc v.1.0.0b-1

net.sf.djdoc.servlet
Class ActionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.sf.djdoc.servlet.ActionServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ActionServlet
extends javax.servlet.http.HttpServlet

The ActionServlet is the controller servlet of the DJDoc web application. Its service method simply retrieves the RequestType from the wrapped HTTP request, executes the corresponding Action and stores the result object in the wrapped request.

See Also:
Serialized Form

Constructor Summary
ActionServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
          This method retrieves the RequestType and the Action from the wrapped HTTP request, executes it and stores the result object in the wrapped request.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
 

Constructor Detail

ActionServlet

public ActionServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest httpServletRequest,
                       javax.servlet.http.HttpServletResponse httpServletResponse)
This method retrieves the RequestType and the Action from the wrapped HTTP request, executes it and stores the result object in the wrapped request.

Overrides:
service in class javax.servlet.http.HttpServlet
Parameters:
httpServletRequest - The DjdocRequest wrapping the HTTP request
httpServletResponse - The HttpServletResponse

DJDoc v.1.0.0b-1