lumis.portal.file
Class FileDownloadControllerHtml
java.lang.Object
lumis.portal.controller.ControllerHtml
lumis.portal.file.FileDownloadControllerHtml
public class FileDownloadControllerHtml
- extends ControllerHtml
Streams the download of a file stored by the IFileManager
.
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILEID_PARAMETER
public static final String FILEID_PARAMETER
- See Also:
- Constant Field Values
INLINE_PARAMETER
public static final String INLINE_PARAMETER
- See Also:
- Constant Field Values
FileDownloadControllerHtml
public FileDownloadControllerHtml(HttpServletRequest request,
HttpServletResponse response)
throws PortalException
- Throws:
PortalException
handleRequest
public void handleRequest()
throws PortalException
- Throws:
PortalException
getFileDownloadUrl
public static ServiceContainerUrl getFileDownloadUrl(String fileId)
- Returns the URL for downloading the file with the given id.
- Parameters:
fileId
- the id of the file.
- Returns:
- the URL for downloading the file.
getFileDownloadUrl
public static ServiceContainerUrl getFileDownloadUrl(String fileId,
boolean inline)
- Returns the URL for downloading the file with the given id.
- Parameters:
fileId
- the id of the file.
- Returns:
- the URL for downloading the file.
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.