Class ContentRange

java.lang.Object
akka.http.javadsl.model.ContentRange
Direct Known Subclasses:
ContentRange.Default, ContentRange.Other, ContentRange.Unsatisfiable

public abstract class ContentRange extends Object
  • Constructor Details

    • ContentRange

      public ContentRange()
  • Method Details

    • isByteContentRange

      public abstract boolean isByteContentRange()
    • isSatisfiable

      public abstract boolean isSatisfiable()
    • isOther

      public abstract boolean isOther()
    • getSatisfiableFirst

      public abstract OptionalLong getSatisfiableFirst()
    • getSatisfiableLast

      public abstract OptionalLong getSatisfiableLast()
    • getOtherValue

      public abstract Optional<String> getOtherValue()
    • getInstanceLength

      public abstract 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, OptionalLong instanceLength)
    • createUnsatisfiable

      public static ContentRange createUnsatisfiable(long length)
    • createOther

      public static ContentRange createOther(String value)