Class ContentRange
- java.lang.Object
- 
- org.apache.tomcat.util.http.parser.ContentRange
 
- 
 public class ContentRange extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description ContentRange(java.lang.String units, long start, long end, long length)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetEnd()longgetLength()longgetStart()java.lang.StringgetUnits()static ContentRangeparse(java.io.StringReader input)Parses a Content-Range header from an HTTP header.
 
- 
- 
- 
Method Detail- 
getUnitspublic java.lang.String getUnits() 
 - 
getStartpublic long getStart() 
 - 
getEndpublic long getEnd() 
 - 
getLengthpublic long getLength() 
 - 
parsepublic static ContentRange parse(java.io.StringReader input) throws java.io.IOException Parses 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:
- java.io.IOException- if there was a problem reading the input
 
 
- 
 
-