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