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 Constructor Description DocumentController(DocumentService documentService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderDocument(com.blueriq.component.api.IAquimaSession session, String documentName, String type, javax.servlet.http.HttpServletResponse httpResponse)
void
renderPage(com.blueriq.component.api.IAquimaSession session, String pageName, String type, javax.servlet.http.HttpServletResponse httpResponse)
-
Methods inherited from class com.aquima.web.api.controller.v2.AbstractBaseController
clientParametersException, handleConversionException, handleDecisionTreeNotExposedException, handleEmptySymptomException, handleFlowEndedException, handleForbiddenException, handleFunctionParameterException, handleFunctionValidationException, handleFunctionValidationException, handleMethodArgumentTypeMismatchException, handleRequestWardException, handleStartApplicationForbiddenException, handleStartShortcutForbiddenException, handleUnauthorizedException, handleUnknownApplicationException, handleUnknownDecisionTreeException, handleUnknownFlowException, handleUnknownFunctionFlowException, handleUnknownLanguageException, handleUnknownModuleException, handleUnknownSessionException, handleUnknownShortcutException, handleUnknownSubscriptionException, handleUnsupportedOpenApiSpecException, isAuthenticated
-
-
-
-
Constructor Detail
-
DocumentController
@Autowired public DocumentController(DocumentService documentService)
-
-
Method Detail
-
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, javax.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, javax.servlet.http.HttpServletResponse httpResponse) throws Exception
- Throws:
Exception
-
-