public class ActionInvoker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTINUATIONS_STORE_VALIDATIONS |
Constructor and Description |
---|
ActionInvoker() |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method |
findActionMethod(java.lang.String name,
java.lang.Class clazz)
Find the first public method of a controller class
|
static java.lang.Object[] |
getActionMethod(java.lang.String fullAction) |
static java.lang.Object[] |
getActionMethodArgs(java.lang.reflect.Method method,
java.lang.Object o) |
static void |
inferResult(java.lang.Object o) |
static void |
invoke(Http.Request request,
Http.Response response) |
static java.lang.Object |
invokeControllerMethod(java.lang.reflect.Method method) |
static java.lang.Object |
invokeControllerMethod(java.lang.reflect.Method method,
java.lang.Object[] forceArgs) |
static void |
resolve(Http.Request request) |
public static final java.lang.String CONTINUATIONS_STORE_VALIDATIONS
public static void resolve(Http.Request request)
public static void invoke(Http.Request request, Http.Response response)
public static java.lang.reflect.Method findActionMethod(java.lang.String name, java.lang.Class clazz)
name
- The method nameclazz
- The classpublic static void inferResult(java.lang.Object o)
public static java.lang.Object invokeControllerMethod(java.lang.reflect.Method method) throws java.lang.Exception
java.lang.Exception
public static java.lang.Object invokeControllerMethod(java.lang.reflect.Method method, java.lang.Object[] forceArgs) throws java.lang.Exception
java.lang.Exception
public static java.lang.Object[] getActionMethod(java.lang.String fullAction)
public static java.lang.Object[] getActionMethodArgs(java.lang.reflect.Method method, java.lang.Object o) throws java.lang.Exception
java.lang.Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly