play.mvc
Class ActionInvoker

java.lang.Object
  extended by play.mvc.ActionInvoker

public class ActionInvoker
extends java.lang.Object

Invoke an action after an HTTP request.


Constructor Summary
ActionInvoker()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionInvoker

public ActionInvoker()
Method Detail

invoke

public static void invoke(Http.Request request,
                          Http.Response response)

inferResult

public static void inferResult(java.lang.Object o)

invokeControllerMethod

public static java.lang.Object invokeControllerMethod(java.lang.reflect.Method method)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

invokeControllerMethod

public static java.lang.Object invokeControllerMethod(java.lang.reflect.Method method,
                                                      java.lang.Object[] forceArgs)
                                               throws java.lang.Exception
Throws:
java.lang.Exception

getActionMethod

public static java.lang.Object[] getActionMethod(java.lang.String fullAction)

getActionMethodArgs

public static java.lang.Object[] getActionMethodArgs(java.lang.reflect.Method method,
                                                     java.lang.Object o)
                                              throws java.lang.Exception
Throws:
java.lang.Exception


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly