Class FileDownloadResponseUtil
java.lang.Object
com.aquima.web.components.filedownload.controller.FileDownloadResponseUtil
Class that sends a file to the browser. HttpResponse is modified for better file interpretation.
- Since:
- 9.3
- Author:
- m.naberink
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureIsAuthorizedResponse
(javax.servlet.http.HttpServletResponse httpResponse) static void
configureIsUnauthorizedResponse
(javax.servlet.http.HttpServletResponse httpResponse) static void
configureResponse
(com.blueriq.component.api.IAquimaSession session, SessionService sessionService, javax.servlet.http.HttpServletResponse httpResponse, FileDownloadResult fileDownloadResult)
-
Method Details
-
configureResponse
public static void configureResponse(com.blueriq.component.api.IAquimaSession session, SessionService sessionService, javax.servlet.http.HttpServletResponse httpResponse, FileDownloadResult fileDownloadResult) throws IOException - Throws:
IOException
-
configureIsAuthorizedResponse
public static void configureIsAuthorizedResponse(javax.servlet.http.HttpServletResponse httpResponse) -
configureIsUnauthorizedResponse
public static void configureIsUnauthorizedResponse(javax.servlet.http.HttpServletResponse httpResponse)
-