Package | Description |
---|---|
org.nuxeo.ecm.core.io.download | |
org.nuxeo.ecm.platform.ui.web.restAPI |
Modifier and Type | Method and Description |
---|---|
static DownloadService.ByteRange |
DownloadHelper.parseRange(String range,
long length)
Parses a byte range.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DownloadServiceImpl.transferBlobWithByteRange(Blob blob,
DownloadService.ByteRange byteRange,
javax.servlet.http.HttpServletResponse response) |
void |
DownloadServiceImpl.transferBlobWithByteRange(Blob blob,
DownloadService.ByteRange byteRange,
Supplier<OutputStream> outputStreamSupplier) |
void |
DownloadService.transferBlobWithByteRange(Blob blob,
DownloadService.ByteRange byteRange,
Supplier<OutputStream> outputStreamSupplier)
Copies the blob stream at the given byte range into the supplied
OutputStream . |
Modifier and Type | Method and Description |
---|---|
void |
DownloadServiceImpl.downloadBlob(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DocumentModel doc,
String xpath,
Blob blob,
String filename,
String reason,
Map<String,Serializable> extendedInfos,
Boolean inline,
Consumer<DownloadService.ByteRange> blobTransferer) |
void |
DownloadService.downloadBlob(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
DocumentModel doc,
String xpath,
Blob blob,
String filename,
String reason,
Map<String,Serializable> extendedInfos,
Boolean inline,
Consumer<DownloadService.ByteRange> blobTransferer)
Triggers a blob download.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseNuxeoRestlet.setEntityToBlobOutput(Blob blob,
DownloadService.ByteRange byteRange,
org.restlet.data.Response res)
Sets the response entity to a representation that will write the blob.
|
Copyright © 2016 Nuxeo SA. All rights reserved.