public class ContentRange
extends java.lang.Object
Constructor and Description |
---|
ContentRange(java.lang.String units,
long start,
long end,
long length) |
public ContentRange(java.lang.String units, long start, long end, long length)
public java.lang.String getUnits()
public long getStart()
public long getEnd()
public long getLength()
public static ContentRange parse(java.io.StringReader input) throws java.io.IOException
input
- a reader over the header textjava.io.IOException
- if there was a problem reading the inputCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.