Uses of Class
org.nuxeo.ecm.core.blob.ByteRange
Packages that use ByteRange
-
Uses of ByteRange in org.nuxeo.ecm.core.blob
Methods in org.nuxeo.ecm.core.blob that return ByteRangeModifier 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.Methods in org.nuxeo.ecm.core.blob with parameters of type ByteRangeModifier 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
Fields in org.nuxeo.ecm.core.io.download with type parameters of type ByteRangeModifier and TypeFieldDescriptionDownloadService.DownloadContext.blobTransferer
DownloadService.DownloadContext.Builder.blobTransferer
Methods in org.nuxeo.ecm.core.io.download that return ByteRangeModifier and TypeMethodDescriptionprotected 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 ByteRangeMethods in org.nuxeo.ecm.core.io.download with parameters of type ByteRangeModifier 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) Method parameters in org.nuxeo.ecm.core.io.download with type arguments of type ByteRangeModifier 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.Constructor parameters in org.nuxeo.ecm.core.io.download with type arguments of type ByteRangeModifierConstructorDescriptionDownloadContext
(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