public class Ranges extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Ranges.Entry |
Modifier and Type | Method and Description |
---|---|
List<Ranges.Entry> |
getEntries() |
String |
getUnits() |
static Ranges |
parse(StringReader input)
Parses a Range header from an HTTP header.
|
public List<Ranges.Entry> getEntries()
public String getUnits()
public static Ranges parse(StringReader input) throws IOException
input
- a reader over the header textIOException
- if there was a problem reading the inputCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.