|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.http.ContentRangeParser
public class ContentRangeParser
A class that parses content range headers.
| Constructor Summary | |
|---|---|
ContentRangeParser(String cr)
Try to parse the given content range. |
|
| Method Summary | |
|---|---|
long |
getEnd()
Get the end index. |
long |
getStart()
Get the start index |
long |
getTotal()
Get the total size of the resource. |
boolean |
isValid()
Check if the content range was valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentRangeParser(String cr)
cr - the Content-Range header.| Method Detail |
|---|
public boolean isValid()
public long getStart()
public long getEnd()
public long getTotal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||