com.ideo.sweetdevria.servlet
Class Action

java.lang.Object
  extended by com.ideo.sweetdevria.servlet.Action
All Implemented Interfaces:
IAction
Direct Known Subclasses:
AbstractLoadDataAction, AbstractSetValueAction, AbstractTestAction, SendParameterLogBench, SetDataIAction, UpdateReader

public class Action
extends java.lang.Object
implements IAction

Main control action entry point. This action is stateless, created on demand, and handles a specific request sent by the client control, launching the action through the launchAction method. This class should not be directly extending by a custom user's action. Some abstract ones have been defined to give some better information about the return types and method parameters.

Author:
Julien Maupoux

Constructor Summary
Action()
           
 
Method Summary
 void execute(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.http.HttpServlet parent)
          Execute method.
 java.lang.Object execute(javax.servlet.http.HttpServletRequest request, java.lang.String pageId, java.util.Map params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()
Method Detail

execute

public void execute(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res,
                    javax.servlet.http.HttpServlet parent)
             throws java.lang.Exception
Description copied from interface: IAction
Execute method.

Specified by:
execute in interface IAction
Parameters:
req - Request.
res - Response.
parent - HttpServlet.
Throws:
java.lang.Exception

execute

public java.lang.Object execute(javax.servlet.http.HttpServletRequest request,
                                java.lang.String pageId,
                                java.util.Map params)
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 Ideo Technologies. All Rights Reserved.