Class WizardHandlerWrapper
- java.lang.Object
-
- net.anotheria.anosite.wizard.handler.WizardHandlerWrapper
-
- All Implemented Interfaces:
WizardHandler
public class WizardHandlerWrapper extends Object implements WizardHandler
Wrapper for Wizard handler.- Author:
- h3ll
-
-
Constructor Summary
Constructors Constructor Description WizardHandlerWrapper(WizardHandler aHandler, WizardHandlerProducer aProducer)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WizardHandlerResponsepreProcess(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard)Method called before wizard process execution.WizardHandlerResponseprocess(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard)Process request to wizard.WizardHandlerResponsesubmit(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard)ProcessSubmit request to wizard.
-
-
-
Constructor Detail
-
WizardHandlerWrapper
public WizardHandlerWrapper(WizardHandler aHandler, WizardHandlerProducer aProducer)
Constructor.- Parameters:
aHandler-WizardHandleraProducer-WizardHandler
-
-
Method Detail
-
preProcess
public WizardHandlerResponse preProcess(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard)
Description copied from interface:WizardHandlerMethod called before wizard process execution.- Specified by:
preProcessin interfaceWizardHandler- Parameters:
req-HttpServletRequest}res-HttpServletResponsewizard-WizardDef- Returns:
WizardHandlerResponse
-
process
public WizardHandlerResponse process(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard) throws WizardHandlerProcessException
Description copied from interface:WizardHandlerProcess request to wizard.- Specified by:
processin interfaceWizardHandler- Parameters:
req-HttpServletRequest}res-HttpServletResponsewizard-WizardDef- Returns:
WizardHandlerResponse- Throws:
WizardHandlerProcessException- on process errors
-
submit
public WizardHandlerResponse submit(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, WizardDef wizard) throws WizardHandlerSubmitException
Description copied from interface:WizardHandlerProcessSubmit request to wizard.- Specified by:
submitin interfaceWizardHandler- Parameters:
req-HttpServletRequest}res-HttpServletResponsewizard-WizardDef- Returns:
WizardHandlerResponse- Throws:
WizardHandlerSubmitException- on submit errors
-
-