Package io.milton.http
Class Range
java.lang.Object
io.milton.http.Range
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Range
public Range(int start, int finish) -
Range
-
-
Method Details
-
parse
-
getStart
-
getFinish
-
getLength
Calculate the length of this range if both start and finish indexes are non-null, otherwise return null- Returns:
-
toString
-
getRange
Returns range in String format ("start-end"), ready to be put into HTTP range request- Returns:
- Range of data in stream
-