org.strutsme.wishlist.presentation.struts.processor
Class WishlistRequestProzessor

java.lang.Object
  extended by org.apache.struts.action.RequestProcessor
      extended by org.strutsme.server.StrutsMERequestProcessor
          extended by org.strutsme.wishlist.presentation.struts.processor.WishlistRequestProzessor

public class WishlistRequestProzessor
extends StrutsMERequestProcessor

The Requestprocessor for the wishlist. It doesn't provide any functionality except for extra logging.

Author:
lbusmann

Field Summary
 
Fields inherited from class org.apache.struts.action.RequestProcessor
actions, appConfig, INCLUDE_PATH_INFO, INCLUDE_SERVLET_PATH, log, moduleConfig, servlet
 
Constructor Summary
WishlistRequestProzessor()
           
 
Method Summary
 void init(org.apache.struts.action.ActionServlet arg0, org.apache.struts.config.ModuleConfig arg1)
          

Initialize this request processor instance.

 void process(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
          
protected  void processContent(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)
          
protected  boolean processForward(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1, org.apache.struts.action.ActionMapping arg2)
          
protected  void processForwardConfig(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1, org.apache.struts.config.ForwardConfig arg2)
          

Forward or redirect to the specified destination, by the specified mechanism.

protected  boolean processInclude(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1, org.apache.struts.action.ActionMapping arg2)
          
 
Methods inherited from class org.strutsme.server.StrutsMERequestProcessor
createMapper, doForward, processActionPerform, processPopulate, processValidate
 
Methods inherited from class org.apache.struts.action.RequestProcessor
destroy, doInclude, getDebug, getInternal, getServletContext, internalModuleRelativeForward, internalModuleRelativeInclude, log, log, processActionCreate, processActionForm, processActionForward, processException, processLocale, processMapping, processMultipart, processNoCache, processPath, processPreprocess, processRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WishlistRequestProzessor

public WishlistRequestProzessor()
Method Detail

init

public final void init(org.apache.struts.action.ActionServlet arg0,
                       org.apache.struts.config.ModuleConfig arg1)
                throws javax.servlet.ServletException

Initialize this request processor instance.

Overrides:
init in class StrutsMERequestProcessor
Parameters:
arg0 - The ActionServlet we are associated with
arg1 - The ModuleConfig we are associated with.
Throws:
javax.servlet.ServletException - If an error occor during initialization

process

public final void process(javax.servlet.http.HttpServletRequest arg0,
                          javax.servlet.http.HttpServletResponse arg1)
                   throws java.io.IOException,
                          javax.servlet.ServletException

Overrides:
process in class org.apache.struts.action.RequestProcessor
Throws:
java.io.IOException
javax.servlet.ServletException

processContent

protected final void processContent(javax.servlet.http.HttpServletRequest arg0,
                                    javax.servlet.http.HttpServletResponse arg1)

Overrides:
processContent in class org.apache.struts.action.RequestProcessor

processForward

protected final boolean processForward(javax.servlet.http.HttpServletRequest arg0,
                                       javax.servlet.http.HttpServletResponse arg1,
                                       org.apache.struts.action.ActionMapping arg2)
                                throws java.io.IOException,
                                       javax.servlet.ServletException

Overrides:
processForward in class org.apache.struts.action.RequestProcessor
Throws:
java.io.IOException
javax.servlet.ServletException

processForwardConfig

protected final void processForwardConfig(javax.servlet.http.HttpServletRequest arg0,
                                          javax.servlet.http.HttpServletResponse arg1,
                                          org.apache.struts.config.ForwardConfig arg2)
                                   throws java.io.IOException,
                                          javax.servlet.ServletException

Forward or redirect to the specified destination, by the specified mechanism. This method uses a ForwardConfig object instead an ActionForward.

todo: provide way of configuring the extension.

Overrides:
processForwardConfig in class StrutsMERequestProcessor
Parameters:
arg0 - The servlet request we are processing
arg1 - The servlet response we are creating
arg2 - The ForwardConfig controlling where we go next
Throws:
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet exception occurs

processInclude

protected final boolean processInclude(javax.servlet.http.HttpServletRequest arg0,
                                       javax.servlet.http.HttpServletResponse arg1,
                                       org.apache.struts.action.ActionMapping arg2)
                                throws java.io.IOException,
                                       javax.servlet.ServletException

Overrides:
processInclude in class org.apache.struts.action.RequestProcessor
Throws:
java.io.IOException
javax.servlet.ServletException