Interface FlowController


  • public interface FlowController
    • Method Detail

      • start

        @GetMapping(value="",
                    produces="application/json")
        default org.bardframework.flow.FlowResponse<String> start​(Locale locale,
                                                                  javax.servlet.http.HttpServletRequest httpRequest,
                                                                  javax.servlet.http.HttpServletResponse httpResponse)
                                                           throws Exception
        Throws:
        Exception
      • submit

        @PostMapping(value="",
                     consumes="application/json",
                     produces="application/json")
        default org.bardframework.flow.FlowResponse<String> submit​(@RequestHeader("X-Flow-Token")
                                                                   String flowToken,
                                                                   @RequestBody
                                                                   Map<String,​String> formData,
                                                                   javax.servlet.http.HttpServletRequest httpRequest,
                                                                   javax.servlet.http.HttpServletResponse httpResponse)
                                                            throws Exception
        Throws:
        Exception
      • action

        @PutMapping(value="",
                    consumes="application/json")
        default void action​(@RequestHeader("X-Flow-Token")
                            String flowToken,
                            @RequestParam("action")
                            String action,
                            @RequestBody
                            Map<String,​String> formData,
                            javax.servlet.http.HttpServletRequest httpRequest,
                            javax.servlet.http.HttpServletResponse httpResponse)
                     throws Exception
        Throws:
        Exception