@FunctionalInterface
public interface ActionCreator
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 createAction(Http.Request request, java.lang.reflect.Method actionMethod)
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.
request
- The HTTP RequestactionMethod
- The action method containing the user code for this Action.