Package com.aquima.web.aaas
Class RestController
java.lang.Object
com.aquima.web.aaas.AbstractEndpoint
com.aquima.web.aaas.RestController
-
Field Summary
Fields inherited from class com.aquima.web.aaas.AbstractEndpoint
authorizationManager
-
Constructor Summary
ConstructorsConstructorDescriptionRestController
(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 Summary
Modifier and TypeMethodDescriptionhandle
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) org.springframework.http.ResponseEntity
<RestErrorResponse> handleErrorMessage
(com.aquima.web.aaas.exception.WebServiceCallException ex) org.springframework.http.ResponseEntity
<?> projectSwaggerFeed
(String project, String version, String spec, jakarta.servlet.http.HttpServletRequest request) org.springframework.http.ResponseEntity
<?> shortcutSwaggerFeed
(String shortcutName, String spec, jakarta.servlet.http.HttpServletRequest request) Methods inherited from class com.aquima.web.aaas.AbstractEndpoint
createSession, createWebserviceCallException, getApplication, getSolution, isAllowed, startFlow, validateRoles, validateRoles
-
Constructor Details
-
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 Details
-
handle
@RequestMapping(value="/rest/**", params="!project") public Object handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws Exception - Throws:
Exception
-
shortcutSwaggerFeed
@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
@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
public org.springframework.http.ResponseEntity<RestErrorResponse> handleErrorMessage(com.aquima.web.aaas.exception.WebServiceCallException ex)
-