类 HttpRange.SuffixByteRange
java.lang.Object
cn.taketoday.http.HttpRange
cn.taketoday.http.HttpRange.SuffixByteRange
- 封闭类:
- HttpRange
Represents an HTTP/1.1 suffix byte range, with a number of suffix bytes.
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanlonggetRangeEnd(long length) Return the end of the range (inclusive) given the total length of a representation.longgetRangeStart(long length) Return the start of the range given the total length of a representation.inthashCode()toString()从类继承的方法 cn.taketoday.http.HttpRange
createByteRange, createByteRange, createSuffixRange, parseRanges, toResourceRegion, toResourceRegions, toString
-
字段详细资料
-
suffixLength
private final long suffixLength
-
-
构造器详细资料
-
SuffixByteRange
public SuffixByteRange(long suffixLength)
-
-
方法详细资料
-
getRangeStart
public long getRangeStart(long length) 从类复制的说明:HttpRangeReturn the start of the range given the total length of a representation.- 指定者:
getRangeStart在类中HttpRange- 参数:
length- the length of the representation- 返回:
- the start of this range for the representation
-
getRangeEnd
public long getRangeEnd(long length) 从类复制的说明:HttpRangeReturn the end of the range (inclusive) given the total length of a representation.- 指定者:
getRangeEnd在类中HttpRange- 参数:
length- the length of the representation- 返回:
- the end of the range for the representation
-
equals
-
hashCode
public int hashCode() -
toString
-