DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.blob(Blob blob) |
The blob, if already fetched.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.blobTransferer(Consumer<ByteRange> blobTransferer) |
The consumer sending the blob's bytes to a client for a given byte range.
|
static DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.builder(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Creates a new builder.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.doc(DocumentModel doc) |
The document from which to download the blob.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.extendedInfos(Map<String,Serializable> extendedInfos) |
The extended infos, holding additional info about the download (in particular for logging and permission
checks).
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.filename(String filename) |
The filename to use.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.inline(Boolean inline) |
If true , specifies Content-Disposition: inline , and if false uses
Content-Disposition: attachment .
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.lastModified(Calendar lastModified) |
The last modified date of the blob.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.reason(String reason) |
The download reason.
|
DownloadService.DownloadContext.Builder |
DownloadService.DownloadContext.Builder.xpath(String xpath) |
The blob's xpath in the document, or the blobholder index.
|