Class HttpByteRange


  • public class HttpByteRange
    extends Object
    Author:
    Maxim.Manuylov Date: 08.09.2008
    • Constructor Detail

      • HttpByteRange

        public HttpByteRange​(long fileSize)
    • Method Detail

      • getLength

        public long getLength()
      • getRangesCount

        public int getRangesCount()
        Returns:
        the number of ranges. This is always 1 or greater
      • isFullRange

        public boolean isFullRange()
      • getContentRangeHeaderValueFor416Response

        public static String getContentRangeHeaderValueFor416Response​(long fileSize)