Class FileServlet.Range

  • Enclosing class:
    FileServlet

    protected class FileServlet.Range
    extends Object
    This class represents a byte range.
    • Constructor Detail

      • Range

        public Range​(long start,
                     long end,
                     long total)
        Construct a byte range.
        Parameters:
        start - Start of the byte range.
        end - End of the byte range.
        total - Total length of the byte source.