Class RangeHeaderResult
- java.lang.Object
-
- com.atlassian.bamboo.plugin.servlet.RangeHeaderResult
-
public class RangeHeaderResult extends Object
Represents the result of processing an HTTP Range header This class encapsulates the starting byte position and the content length to be served in response to a range request
-
-
Constructor Summary
Constructors Constructor Description RangeHeaderResult(long start, long contentLength)Constructs a newRangeHeaderResultwith the specified start position and content length
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetContentLength()Returns the length of the content to be servedlonggetStart()Returns the starting byte position of the range to be served
-