Class Ranges


  • public class Ranges
    extends Object
    • Method Detail

      • getUnits

        public String getUnits()
      • parse

        public static Ranges parse​(StringReader input)
                            throws IOException
        Parses a Range header from an HTTP header.
        Parameters:
        input - a reader over the header text
        Returns:
        a set of ranges parsed from the input, or null if not valid
        Throws:
        IOException - if there was a problem reading the input