Class ContentRange

    • Constructor Detail

      • ContentRange

        public ContentRange()
    • Method Detail

      • isByteContentRange

        public abstract boolean isByteContentRange()
      • isSatisfiable

        public abstract boolean isSatisfiable()
      • isOther

        public abstract boolean isOther()
      • getSatisfiableFirst

        public abstract java.util.OptionalLong getSatisfiableFirst()
      • getSatisfiableLast

        public abstract java.util.OptionalLong getSatisfiableLast()
      • getOtherValue

        public abstract java.util.Optional<java.lang.String> getOtherValue()
      • getInstanceLength

        public abstract java.util.OptionalLong getInstanceLength()
      • create

        public static ContentRange create​(long first,
                                          long last)
      • create

        public static ContentRange create​(long first,
                                          long last,
                                          long instanceLength)
      • create

        public static ContentRange create​(long first,
                                          long last,
                                          java.util.OptionalLong instanceLength)
      • createUnsatisfiable

        public static ContentRange createUnsatisfiable​(long length)
      • createOther

        public static ContentRange createOther​(java.lang.String value)