Class RangeAwareUrlResource

  • All Implemented Interfaces:
    RangeAwareResource, org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource

    public class RangeAwareUrlResource
    extends org.springframework.core.io.UrlResource
    implements RangeAwareResource
    UrlResource extension that implements RangeAwareResource in order to provide random access to content (range content queries).
    Author:
    avasquez
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      InputStream getInputStream​(long start, long end)
      Returns a range of bytes from the resource's content.
      • Methods inherited from class org.springframework.core.io.UrlResource

        createRelative, createRelativeURL, equals, getDescription, getFile, getFilename, getInputStream, getURI, getURL, hashCode, isFile
      • Methods inherited from class org.springframework.core.io.AbstractFileResolvingResource

        contentLength, customizeConnection, customizeConnection, exists, getFile, getFileForLastModifiedCheck, isFile, isReadable, lastModified, readableChannel
      • Methods inherited from class org.springframework.core.io.AbstractResource

        isOpen, toString
      • Methods inherited from interface org.springframework.core.io.InputStreamSource

        getInputStream
      • Methods inherited from interface org.springframework.core.io.Resource

        contentLength, createRelative, exists, getDescription, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel