public class RangeRequest extends Object
| Constructor and Description |
|---|
RangeRequest(Integer startIndex,
Integer endIndex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getEndIndex() |
Integer |
getStartIndex() |
int |
hashCode() |
static RangeRequest |
parse(String headerValue)
Parse the given HTTP Range request header value.
|
String |
toString() |
public Integer getStartIndex()
public Integer getEndIndex()
@Nullable public static RangeRequest parse(String headerValue) throws BadRequestException
headerValue - eg "bytes=500-699,800-999"BadRequestException - if the Range header value is malformedCopyright © 2002-2019 Atlassian. All Rights Reserved.