public interface IFileDownloadProvider
File| Modifier and Type | Method and Description |
|---|---|
String |
getDownloadUrl(FileDownloadData fileDownloadData,
boolean urlBo)
Generates an encrypted download url for a
File. |
File |
getFile(fr.paris.lutece.api.user.User user,
javax.servlet.http.HttpServletRequest request,
boolean bo)
Decrypts download parameters and get the file to download
|
default int |
getLinkValidityTime()
Number of minutes the links generated by this provider are valid.
|
String |
getProviderName() |
String getProviderName()
String getDownloadUrl(FileDownloadData fileDownloadData, boolean urlBo)
File.fileDownloadData - urlBo - File getFile(fr.paris.lutece.api.user.User user, javax.servlet.http.HttpServletRequest request, boolean bo) throws SiteMessageException, UserNotSignedException
user - request - SiteMessageExceptionUserNotSignedExceptiondefault int getLinkValidityTime()
Copyright © 2021 City of Paris. All rights reserved.