public class DefaultActionCreator extends java.lang.Object implements ActionCreator
To create a custom action creator, extend this class or implement the ActionCreator interface directly.
| 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.
|
public Action createAction(Http.Request request, java.lang.reflect.Method actionMethod)
ActionCreatorThe request and actionMethod values are passed for information. Implementations of this method should create an instance of Action that invokes the injected action delegate.
createAction in interface ActionCreatorrequest - The HTTP RequestactionMethod - The action method containing the user code for this Action.