01: /*
02: * Created on 15-Dec-2005
03: */
04: package uk.org.ponder.rsf.processor;
05:
06: import uk.org.ponder.rsf.flow.ARIResult;
07: import uk.org.ponder.rsf.viewstate.AnyViewParameters;
08:
09: /**
10: * The interface from the RootHandlerBean to the ActionHandler, responsible
11: * for handling for handling an HTTP POST
12: * request, or other non-idempotent web service "action" cycle. The default
13: * implementation is RSFActionHandler.
14: * @author Antranig Basman (amb26@ponder.org.uk)
15: *
16: */
17: public interface ActionHandler {
18: /** Handle this request, and return a ViewParameters object representing
19: * the navigation state which should be redirected to when this cycle
20: * finishes.
21: * @return The resulting view state, which will be presented to the
22: * RenderHandler on the next cycle.
23: */
24: public AnyViewParameters handle();
25:
26: public ARIResult getARIResult();
27: }
|