Package akka.http.javadsl.model.headers
Class ByteRange
- java.lang.Object
-
- akka.http.javadsl.model.headers.ByteRange
-
- Direct Known Subclasses:
ByteRange
public abstract class ByteRange extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ByteRange()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ByteRange
createFromOffset(long offset)
static ByteRange
createSlice(long first, long last)
static ByteRange
createSuffix(long length)
abstract java.util.OptionalLong
getOffset()
abstract java.util.OptionalLong
getSliceFirst()
abstract java.util.OptionalLong
getSliceLast()
abstract java.util.OptionalLong
getSuffixLength()
abstract boolean
isFromOffset()
abstract boolean
isSlice()
abstract boolean
isSuffix()
-
-
-
Method Detail
-
isSlice
public abstract boolean isSlice()
-
isFromOffset
public abstract boolean isFromOffset()
-
isSuffix
public abstract boolean isSuffix()
-
getSliceFirst
public abstract java.util.OptionalLong getSliceFirst()
-
getSliceLast
public abstract java.util.OptionalLong getSliceLast()
-
getOffset
public abstract java.util.OptionalLong getOffset()
-
getSuffixLength
public abstract java.util.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)
-
-