Package net.anotheria.anosite.action
Class ActionWrapper
- java.lang.Object
-
- net.anotheria.anosite.action.ActionWrapper
-
-
Constructor Summary
Constructors Constructor Description ActionWrapper(Action action, ActionProducer producer)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionCommandexecute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, ActionMapping mapping)Executes the action.
-
-
-
Constructor Detail
-
ActionWrapper
public ActionWrapper(Action action, ActionProducer producer)
Constructor.- Parameters:
action-Actionproducer-ActionProducer
-
-
Method Detail
-
execute
public ActionCommand execute(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, ActionMapping mapping) throws Exception
Description copied from interface:ActionExecutes the action.- Specified by:
executein interfaceAction- 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
-
-