Uses of Class
org.nuxeo.ecm.core.blob.ByteRange
-
Uses of ByteRange in org.nuxeo.ecm.core.blob
Modifier and TypeMethodDescriptionstatic ByteRange
AbstractBlobStore.getByteRangeFromKey
(org.apache.commons.lang3.mutable.MutableObject<String> keyHolder) static ByteRange
ByteRange.inclusive
(long start, long end) Constructs a byte range from a start and INCLUSIVE end.Modifier and TypeMethodDescriptiondefault InputStream
Gets anInputStream
for a byte range of a managed blob.static String
AbstractBlobStore.setByteRangeInKey
(String key, ByteRange byteRange) -
Uses of ByteRange in org.nuxeo.ecm.core.io.download
Modifier and TypeFieldDescriptionDownloadService.DownloadContext.blobTransferer
DownloadService.DownloadContext.Builder.blobTransferer
Modifier and TypeMethodDescriptionprotected ByteRange
DownloadServiceImpl.getByteRange
(javax.servlet.http.HttpServletRequest request, long length) static ByteRange
DownloadHelper.parseRange
(String range, long length) Parses a byte range.Modifier and TypeMethodDescriptionvoid
DownloadService.transferBlobWithByteRange
(Blob blob, ByteRange byteRange, Supplier<OutputStream> outputStreamSupplier) Copies the blob stream at the given byte range into the suppliedOutputStream
.void
DownloadServiceImpl.transferBlobWithByteRange
(Blob blob, ByteRange byteRange, Supplier<OutputStream> outputStreamSupplier) protected void
DownloadServiceImpl.transferBlobWithByteRange
(Blob blob, ByteRange byteRange, javax.servlet.http.HttpServletResponse response) Modifier and TypeMethodDescriptionDownloadService.DownloadContext.Builder.blobTransferer
(Consumer<ByteRange> blobTransferer) The consumer sending the blob's bytes to a client for a given byte range.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<ByteRange> blobTransferer) Deprecated.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<ByteRange> blobTransferer) Deprecated.ModifierConstructorDescriptionDownloadContext
(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<ByteRange> blobTransferer, Calendar lastModified)
DownloadService.downloadBlob(DownloadContext)
instead