Uses of Class
org.nuxeo.ecm.core.io.download.DownloadService.DownloadContext.Builder
Packages that use DownloadService.DownloadContext.Builder
-
Uses of DownloadService.DownloadContext.Builder in org.nuxeo.ecm.core.io.download
Methods in org.nuxeo.ecm.core.io.download that return DownloadService.DownloadContext.BuilderModifier and TypeMethodDescriptionThe blob, if already fetched.DownloadService.DownloadContext.Builder.blobTransferer
(Consumer<ByteRange> blobTransferer) The consumer sending the blob's bytes to a client for a given byte range.DownloadService.DownloadContext.builder
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Creates a new builder.DownloadService.DownloadContext.Builder.doc
(DocumentModel doc) The document from which to download the blob.DownloadService.DownloadContext.Builder.extendedInfos
(Map<String, Serializable> extendedInfos) The extended infos, holding additional info about the download (in particular for logging and permission checks).The filename to use.Iftrue
, specifiesContent-Disposition: inline
, and iffalse
usesContent-Disposition: attachment
.DownloadService.DownloadContext.Builder.lastModified
(Calendar lastModified) The last modified date of the blob.The download reason.The blob's xpath in the document, or the blobholder index.