Class Ranges

  • public class Ranges
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Ranges.Entry  
    • Method Detail

      • getEntries

        public java.util.List<Ranges.Entry> getEntries()
      • getUnits

        public java.lang.String getUnits()
      • parse

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