Class ContentRange
java.lang.Object
org.apache.tomcat.util.http.parser.ContentRange
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlonggetEnd()longlonggetStart()getUnits()static ContentRangeparse(StringReader input) Parses a Content-Range header from an HTTP header.
- 
Constructor Details- 
ContentRange
 
- 
- 
Method Details- 
getUnits
- 
getStartpublic long getStart()
- 
getEndpublic long getEnd()
- 
getLengthpublic long getLength()
- 
parseParses a Content-Range header from an HTTP header.- Parameters:
- input- a reader over the header text
- Returns:
- the range parsed from the input, or null if not valid
- Throws:
- IOException- if there was a problem reading the input
 
 
-