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