public class DefaultActionCreator extends 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,
Method actionMethod)
Call to create the root Action for a Java controller method call.
|
public Action createAction(Http.Request request, Method actionMethod)
ActionCreator
The 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 ActionCreator
request
- The HTTP RequestactionMethod
- The action method containing the user code for this Action.