Class RestController

    • Constructor Detail

      • RestController

        @Autowired
        public RestController​(com.aquima.interactions.portal.IPortalEngine engine,
                              IShortcutPathService shortcutPathService,
                              BaasFlowStarter flowStarter,
                              com.blueriq.component.api.security.IAuthorisationManager authorizationManager,
                              com.blueriq.component.api.shortcut.IShortcutManager shortcutManager)
    • Method Detail

      • handle

        @RequestMapping(value="/rest/**",
                        params="!project")
        public org.springframework.web.servlet.View handle​(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
                                                    throws Exception
        Throws:
        Exception
      • shortcutSwaggerFeed

        @GetMapping(path="/rest/docs",
                    params="shortcut",
                    produces="application/json")
        @ResponseBody
        public String shortcutSwaggerFeed​(@RequestParam("shortcut")
                                          String shortcutName,
                                          @RequestParam(name="spec",defaultValue="3")
                                          String spec,
                                          javax.servlet.http.HttpServletRequest request)
                                   throws Exception
        Throws:
        Exception
      • projectSwaggerFeed

        @GetMapping(path="/rest/docs",
                    params="project",
                    produces="application/json")
        @ResponseBody
        public org.springframework.http.ResponseEntity<String> projectSwaggerFeed​(@RequestParam("project")
                                                                                  String project,
                                                                                  @RequestParam("version")
                                                                                  String version,
                                                                                  @RequestParam(name="spec",defaultValue="3")
                                                                                  String spec,
                                                                                  javax.servlet.http.HttpServletRequest request)
                                                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException