Class SpringWebMvcProcedureRegistry

    • Constructor Detail

      • SpringWebMvcProcedureRegistry

        public SpringWebMvcProcedureRegistry()
    • Method Detail

      • extractEndPointMethods

        public static void extractEndPointMethods​(java.lang.Class<?> controllerClass,
                                                  java.util.function.Consumer<java.lang.reflect.Method> methodVisitor)
        Extract the RequestMapping Method instances.
        Parameters:
        controllerClass - Class that may be Controller.
        methodVisitor - Receives extract RequestMapping Method instances.
      • getHandler

        public static org.springframework.web.servlet.HandlerExecutionChain getHandler​(java.lang.Class<?> controllerClass,
                                                                                       java.lang.String controllerMethodName,
                                                                                       java.lang.ClassLoader classLoader,
                                                                                       org.springframework.context.ConfigurableApplicationContext springContext)
                                                                                throws java.lang.Exception
        Obtains the HandlerExecutionChain for the Controller Method.
        Parameters:
        controllerClass - Controller Class.
        controllerMethodName - Name of the Controller Method.
        classLoader - ClassLoader.
        springContext - ConfigurableApplicationContext.
        Returns:
        HandlerExecutionChain for the Controller Method. null if not found.
        Throws:
        java.lang.Exception - If fails to obtain the HandlerExecutionChain.
      • getHandler

        public static org.springframework.web.servlet.HandlerExecutionChain getHandler​(java.lang.Class<?> controllerClass,
                                                                                       java.lang.reflect.Method controllerMethod,
                                                                                       java.lang.ClassLoader classLoader,
                                                                                       org.springframework.context.ConfigurableApplicationContext springContext)
                                                                                throws java.lang.Exception
        Obtains the HandlerExecutionChain for the Controller Method.
        Parameters:
        controllerClass - Controller Class.
        controllerMethod - Controller Method.
        classLoader - ClassLoader.
        springContext - ConfigurableApplicationContext.
        Returns:
        HandlerExecutionChain for the Controller Method. null if not found.
        Throws:
        java.lang.Exception - If fails to obtain the HandlerExecutionChain.