|
|||||||||
| Home >> All >> org >> infohazard >> maverick >> [ flow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.infohazard.maverick.flow
Class ControllerWithParams

java.lang.Objectorg.infohazard.maverick.flow.ControllerWithParams
- All Implemented Interfaces:
- Controller
- public class ControllerWithParams
- extends java.lang.Object
- implements Controller
- extends java.lang.Object
This is a Decorator pattern, adding params defined for a controller.
| Field Summary | |
protected Controller |
decorated
the decorated controller. |
protected java.util.Map |
params
the controller parameters. |
| Constructor Summary | |
ControllerWithParams(Controller decorate,
java.util.Map params)
Create a decorator for the given controller with the given parameters. |
|
| Method Summary | |
Controller |
getDecorated()
Get decorated. |
java.lang.String |
go(ControllerContext cctx)
Puts all controller parameters and then defers execution to the command method of the controller. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
decorated
protected Controller decorated
- the decorated controller.
params
protected java.util.Map params
- the controller parameters.
| Constructor Detail |
ControllerWithParams
public ControllerWithParams(Controller decorate, java.util.Map params)
- Create a decorator for the given controller with the given parameters.
| Method Detail |
go
public java.lang.String go(ControllerContext cctx) throws javax.servlet.ServletException
- Puts all controller parameters and then defers execution to the command
method of the controller.
- Specified by:
goin interfaceController
getDecorated
public Controller getDecorated()
- Get decorated.
|
|||||||||
| Home >> All >> org >> infohazard >> maverick >> [ flow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.infohazard.maverick.flow.ControllerWithParams