Class FileDownloadController
java.lang.Object
com.aquima.web.api.controller.v2.AbstractBaseController
com.aquima.web.components.filedownload.controller.v2.FileDownloadController
@RestController("v2ApiFileDownloadController")
@RequestMapping(path="/api/v2")
@ServerContext
public class FileDownloadController
extends AbstractBaseController
- Since:
- 11.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkAuthorization
(com.blueriq.component.api.IAquimaSession session, String configurationId, jakarta.servlet.http.HttpServletResponse httpResponse) void
get
(com.blueriq.component.api.IAquimaSession session, String configurationId, 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
-
get
@SendRedirectUponException @GetMapping("/session/{sessionId}/file/{configurationId}/download") public void get(@PathVariable("sessionId") com.blueriq.component.api.IAquimaSession session, @PathVariable("configurationId") String configurationId, jakarta.servlet.http.HttpServletResponse httpResponse) throws IOException - Throws:
IOException
-
checkAuthorization
@GetMapping("/session/{sessionId}/file/{configurationId}/checkauthorization") public void checkAuthorization(@PathVariable("sessionId") com.blueriq.component.api.IAquimaSession session, @PathVariable("configurationId") String configurationId, jakarta.servlet.http.HttpServletResponse httpResponse)
-