Class Ranges
java.lang.Object
org.apache.tomcat.util.http.parser.Ranges
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUnits()
static Ranges
parse
(StringReader input) Parses a Range header from an HTTP header.
-
Constructor Details
-
Ranges
-
-
Method Details
-
getEntries
-
getUnits
-
parse
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
-