@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 of a request for a Java application.
|
default Action |
wrapAction(Action action)
Deprecated.
This functionality can be emulated by other means.
|
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.