parses the following types of byte ranges:
bytes=100-499
bytes=-300
bytes=100-
bytes=1-2,2-3,6-,-2
given an entity length, converts range to string
bytes 100-499/500
Based on RFC2616 3.12, 14.16, 14.35.1, 14.35.2
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public static List | Returns: LazyList of satisfiable rangesEnumeration of Range header fields. headers, long Size of the resource. size)
|
| public static String | |
| public String | |
| public String |
| InclusiveByteRange | back to summary |
|---|---|
| public InclusiveByteRange(long first, long last) | |
| getFirst | back to summary |
|---|---|
| public long getFirst() | |
| getFirst | back to summary |
|---|---|
| public long getFirst(long size) | |
| getLast | back to summary |
|---|---|
| public long getLast() | |
| getLast | back to summary |
|---|---|
| public long getLast(long size) | |
| getSize | back to summary |
|---|---|
| public long getSize(long size) | |
| satisfiableRanges | back to summary |
|---|---|
public static List
| |
| to416HeaderRangeString | back to summary |
|---|---|
| public static String to416HeaderRangeString(long size) | |
| toHeaderRangeString | back to summary |
|---|---|
| public String toHeaderRangeString(long size) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |