Class FileDownloadController
- java.lang.Object
-
- com.aquima.web.api.controller.v1.AbstractBaseController
-
- com.aquima.web.components.filedownload.controller.v1.FileDownloadController
-
@RestController("apiFileDownloadController") @RequestMapping(path="/api/v1") @ServerContext public class FileDownloadController extends AbstractBaseController
-
-
Constructor Summary
Constructors Constructor Description FileDownloadController(FileDownloadService contentDownloadService, SessionService sessionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkAuthorization(com.blueriq.component.api.IAquimaSession rootSession, com.blueriq.component.api.IAquimaSession currentSession, String configurationId, javax.servlet.http.HttpServletResponse httpResponse)
void
get(com.blueriq.component.api.IAquimaSession rootSession, com.blueriq.component.api.IAquimaSession currentSession, String configurationId, 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 Detail
-
FileDownloadController
@Autowired public FileDownloadController(FileDownloadService contentDownloadService, SessionService sessionService)
-
-
Method Detail
-
get
@GetMapping("/subscription/{subscriptionId}/session/{sessionId}/file/{configurationId}/download") public void get(@PathVariable("subscriptionId") com.blueriq.component.api.IAquimaSession rootSession, @PathVariable("sessionId") com.blueriq.component.api.IAquimaSession currentSession, @PathVariable("configurationId") String configurationId, javax.servlet.http.HttpServletResponse httpResponse) throws IOException
- Throws:
IOException
-
checkAuthorization
@GetMapping("/subscription/{subscriptionId}/session/{sessionId}/file/{configurationId}/checkauthorization") public void checkAuthorization(@PathVariable("subscriptionId") com.blueriq.component.api.IAquimaSession rootSession, @PathVariable("sessionId") com.blueriq.component.api.IAquimaSession currentSession, @PathVariable("configurationId") String configurationId, javax.servlet.http.HttpServletResponse httpResponse) throws IOException
- Throws:
IOException
-
-