public class Ranges
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Ranges.Entry |
Modifier and Type | Method and Description |
---|---|
java.util.List<Ranges.Entry> |
getEntries() |
java.lang.String |
getUnits() |
static Ranges |
parse(java.io.StringReader input)
Parses a Range header from an HTTP header.
|
public java.util.List<Ranges.Entry> getEntries()
public java.lang.String getUnits()
public static Ranges 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.