Class RestController

java.lang.Object
com.aquima.web.aaas.AbstractEndpoint
com.aquima.web.aaas.RestController

@Controller public class RestController extends AbstractEndpoint
  • Constructor Details Link icon

    • RestController Link icon

      @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 Details Link icon

    • handle Link icon

      @RequestMapping(value="/rest/**", params="!project") public Object handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws Exception
      Throws:
      Exception
    • shortcutSwaggerFeed Link icon

      @GetMapping(path="/rest/docs", params="shortcut", produces="application/json") public org.springframework.http.ResponseEntity<?> shortcutSwaggerFeed(@RequestParam("shortcut") String shortcutName, @RequestParam(name="spec",defaultValue="3") String spec, jakarta.servlet.http.HttpServletRequest request)
    • projectSwaggerFeed Link icon

      @GetMapping(path="/rest/docs", params="project", produces="application/json") public org.springframework.http.ResponseEntity<?> projectSwaggerFeed(@RequestParam("project") String project, @RequestParam("version") String version, @RequestParam(name="spec",defaultValue="3") String spec, jakarta.servlet.http.HttpServletRequest request)
    • handleErrorMessage Link icon

      public org.springframework.http.ResponseEntity<RestErrorResponse> handleErrorMessage(com.aquima.web.aaas.exception.WebServiceCallException ex)