Package play.mvc

Class ActionInvoker


  • public class ActionInvoker
    extends java.lang.Object
    Invoke an action after an HTTP request.
    • Constructor Detail

      • ActionInvoker

        @Inject
        public ActionInvoker​(SessionStore sessionStore)
    • Method Detail

      • resolve

        public static void resolve​(Http.Request request)
      • findActionMethod

        public static java.lang.reflect.Method findActionMethod​(java.lang.String name,
                                                                java.lang.Class clazz)
        Find the first public method of a controller class
        Parameters:
        name - The method name
        clazz - The class
        Returns:
        The method or null
      • inferResult

        public static void inferResult​(java.lang.Object o)
      • getActionMethod

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

        public static java.lang.Object[] getActionMethodArgs​(Http.Request request,
                                                             Scope.Session session,
                                                             java.lang.reflect.Method method)