Package controller.utils
Class FileServlet.Range
java.lang.Object
controller.utils.FileServlet.Range
- Enclosing class:
- FileServlet
protected class FileServlet.Range
extends java.lang.Object
This class represents a byte range.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Range(long st, long en, long tot)
Construct a byte range. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
start
private long startstart range. -
end
private long endend range. -
length
private long lengthlength range. -
total
private long totaltotal range.
-
-
Constructor Details
-
Range
public Range(long st, long en, long tot)Construct a byte range.- Parameters:
st
- Start of the byte range.en
- End of the byte range.tot
- Total length of the byte source.
-