@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.
|
default Action |
wrapAction(Action action)
Deprecated.
Use createAction and set play.http.actionComposition.executeActionCreatorActionFirst = true
|
Action createAction(Http.Request request, java.lang.reflect.Method actionMethod)
request
- The HTTP RequestactionMethod
- The action method containing the user code for this Action.@Deprecated default Action wrapAction(Action action)
action
- The action to wrap.