Package com.aquima.web.api.controller.v2
Class DocumentController
java.lang.Object
com.aquima.web.api.controller.v2.AbstractBaseController
com.aquima.web.api.controller.v2.DocumentController
@Controller("v2ApiDocumentController")
@RequestMapping(path="/api/v2",
produces="application/json")
@ServerContext
public class DocumentController
extends AbstractBaseController
- Since:
- 11.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderDocument
(com.blueriq.component.api.IAquimaSession session, String documentName, String type, jakarta.servlet.http.HttpServletResponse httpResponse) void
renderPage
(com.blueriq.component.api.IAquimaSession session, String pageName, String type, jakarta.servlet.http.HttpServletResponse httpResponse) Methods inherited from class com.aquima.web.api.controller.v2.AbstractBaseController
clientParametersException, handleConversionException, handleDecisionTreeNotExposedException, handleEmptySymptomException, handleFlowEndedException, handleForbiddenException, handleFunctionValidationException, handleFunctionValidationException, handleMethodArgumentTypeMismatchException, handleRequestWardException, handleStartApplicationForbiddenException, handleStartShortcutForbiddenException, handleUnauthorizedException, handleUnknownApplicationException, handleUnknownFlowException, handleUnknownFunctionFlowException, handleUnknownLanguageException, handleUnknownModuleException, handleUnknownSessionException, handleUnknownShortcutException, handleUnsupportedOpenApiSpecException, isAuthenticated
-
Constructor Details
-
Method Details
-
renderDocument
@SendRedirectUponException @GetMapping("/session/{sessionId}/document/{documentName}/{type}") public void renderDocument(@PathVariable("sessionId") com.blueriq.component.api.IAquimaSession session, @PathVariable String documentName, @PathVariable String type, jakarta.servlet.http.HttpServletResponse httpResponse) throws Exception - Throws:
Exception
-
renderPage
@SendRedirectUponException @GetMapping("/session/{sessionId}/document/page/{pageName}/{type}") public void renderPage(@PathVariable("sessionId") com.blueriq.component.api.IAquimaSession session, @PathVariable String pageName, @PathVariable String type, jakarta.servlet.http.HttpServletResponse httpResponse) throws Exception - Throws:
Exception
-