Class ByteRange

java.lang.Object
akka.http.javadsl.model.headers.ByteRange
Direct Known Subclasses:
ByteRange

public abstract class ByteRange extends Object
  • Constructor Details

    • ByteRange

      public ByteRange()
  • Method Details

    • isSlice

      public abstract boolean isSlice()
    • isFromOffset

      public abstract boolean isFromOffset()
    • isSuffix

      public abstract boolean isSuffix()
    • getSliceFirst

      public abstract OptionalLong getSliceFirst()
    • getSliceLast

      public abstract OptionalLong getSliceLast()
    • getOffset

      public abstract OptionalLong getOffset()
    • getSuffixLength

      public abstract OptionalLong getSuffixLength()
    • createSlice

      public static ByteRange createSlice(long first, long last)
    • createFromOffset

      public static ByteRange createFromOffset(long offset)
    • createSuffix

      public static ByteRange createSuffix(long length)