com.raritantechnologies.struts
Class RequestFilterAction

java.lang.Object
  extended bycom.raritantechnologies.struts.RequestFilterAction
All Implemented Interfaces:
IActionHandler, IConfigurable

public class RequestFilterAction
extends java.lang.Object
implements IActionHandler

Uses an IMapFilter to manipulate the HTTP request map.

XML Configuration Template:
   <ActionHandler class="com.raritantechnologies.struts.RequestFilterAction" >
     <MapFilter class="[ class of com.raritantechnologies.utils.filter.IMapFilter ]" >

     </MapFilter>
   </ActionHandler>

 
Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
RequestFilterAction()
           
 
Method Summary
 ActionForward handleAction(ActionMapping mapping, ActionForm form, DynamicHttpServletRequest request, HttpServletResponse response)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestFilterAction

public RequestFilterAction()
Method Detail

handleAction

public ActionForward handleAction(ActionMapping mapping,
                                  ActionForm form,
                                  DynamicHttpServletRequest request,
                                  HttpServletResponse response)
                           throws java.lang.Exception
Specified by:
handleAction in interface IActionHandler
Throws:
java.lang.Exception

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable