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)
ActionCreator
createAction
in interface ActionCreator
request
- The HTTP RequestactionMethod
- The action method containing the user code for this Action.public Action wrapAction(Action action)
ActionCreator
wrapAction
in interface ActionCreator
action
- The action to wrap.