public class HttpRequestHandlerActionCreator extends java.lang.Object implements ActionCreator
| Constructor and Description |
|---|
HttpRequestHandlerActionCreator(javax.inject.Provider<HttpRequestHandler> httpRequestHandler) |
| 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 |
wrapAction(Action action)
Call to wrap the outer action of a Java application.
|
@Inject public HttpRequestHandlerActionCreator(javax.inject.Provider<HttpRequestHandler> httpRequestHandler)
public Action createAction(Http.Request request, java.lang.reflect.Method actionMethod)
ActionCreatorcreateAction in interface ActionCreatorrequest - The HTTP RequestactionMethod - The action method containing the user code for this Action.public Action wrapAction(Action action)
ActionCreatorwrapAction in interface ActionCreatoraction - The action to wrap.