Uses of Class
org.nuxeo.ecm.core.blob.ByteRange
-
Packages that use ByteRange Package Description org.nuxeo.ecm.core.blob org.nuxeo.ecm.core.io.download -
-
Uses of ByteRange in org.nuxeo.ecm.core.blob
Methods in org.nuxeo.ecm.core.blob that return ByteRange Modifier and Type Method Description static 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.Methods in org.nuxeo.ecm.core.blob with parameters of type ByteRange Modifier and Type Method Description default InputStream
BlobProvider. getStream(String blobKey, ByteRange byteRange)
Gets anInputStream
for a byte range of a managed blob.InputStream
BlobStoreBlobProvider. getStream(String blobKey, ByteRange byteRange)
static String
AbstractBlobStore. setByteRangeInKey(String key, ByteRange byteRange)
-
Uses of ByteRange in org.nuxeo.ecm.core.io.download
Fields in org.nuxeo.ecm.core.io.download with type parameters of type ByteRange Modifier and Type Field Description protected Consumer<ByteRange>
DownloadService.DownloadContext. blobTransferer
protected Consumer<ByteRange>
DownloadService.DownloadContext.Builder. blobTransferer
Methods in org.nuxeo.ecm.core.io.download that return ByteRange Modifier and Type Method Description protected ByteRange
DownloadServiceImpl. getByteRange(javax.servlet.http.HttpServletRequest request, long length)
static ByteRange
DownloadHelper. parseRange(String range, long length)
Parses a byte range.Methods in org.nuxeo.ecm.core.io.download that return types with arguments of type ByteRange Modifier and Type Method Description Consumer<ByteRange>
DownloadService.DownloadContext. getBlobTransferer()
Methods in org.nuxeo.ecm.core.io.download with parameters of type ByteRange Modifier and Type Method Description void
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)
Method parameters in org.nuxeo.ecm.core.io.download with type arguments of type ByteRange Modifier and Type Method Description 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.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.since 11.1, useDownloadService.downloadBlob(DownloadContext)
insteadvoid
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.Constructor parameters in org.nuxeo.ecm.core.io.download with type arguments of type ByteRange Constructor Description DownloadContext(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)
-