类 HttpRange.SuffixByteRange

java.lang.Object
cn.taketoday.http.HttpRange
cn.taketoday.http.HttpRange.SuffixByteRange
封闭类:
HttpRange

private static class HttpRange.SuffixByteRange extends HttpRange
Represents an HTTP/1.1 suffix byte range, with a number of suffix bytes.
另请参阅:
  • 字段详细资料

    • suffixLength

      private final long suffixLength
  • 构造器详细资料

    • SuffixByteRange

      public SuffixByteRange(long suffixLength)
  • 方法详细资料

    • getRangeStart

      public long getRangeStart(long length)
      从类复制的说明: HttpRange
      Return 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)
      从类复制的说明: HttpRange
      Return 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

      public boolean equals(@Nullable Object other)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object