public class DefaultActionCreator extends java.lang.Object implements ActionCreator
Constructor and Description |
---|
DefaultActionCreator() |
Modifier and Type | Method and Description |
---|---|
Action |
createAction(Http.Request request,
java.lang.reflect.Method actionMethod)
Call to create the root Action for a Java controller method call.
|
Action |
wrapAction(Action action)
Call to wrap the outer action of a Java application.
|
public Action createAction(Http.Request request, java.lang.reflect.Method actionMethod)
ActionCreator
createAction
in interface ActionCreator
request
- The HTTP RequestactionMethod
- The action method containing the user code for this Action.public final Action wrapAction(Action action)
ActionCreator
wrapAction
in interface ActionCreator
action
- The action to wrap.