Class ActionWrapper

  • All Implemented Interfaces:
    Action

    public class ActionWrapper
    extends Object
    implements Action
    Action wrapper class. Contains Moskito-Producer for selected action, and action itself.
    Author:
    h3ll
    • Method Detail

      • execute

        public ActionCommand execute​(jakarta.servlet.http.HttpServletRequest req,
                                     jakarta.servlet.http.HttpServletResponse resp,
                                     ActionMapping mapping)
                              throws Exception
        Description copied from interface: Action
        Executes the action.
        Specified by:
        execute in interface Action
        Parameters:
        req - the http request.
        resp - the http response.
        mapping - default mapping as configured in the CMS.
        Returns:
        ActionCommand
        Throws:
        Exception - on different kind of errors