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 ByteRangecreateFromOffset(long offset)static ByteRangecreateSlice(long first, long last)static ByteRangecreateSuffix(long length)abstract java.util.OptionalLonggetOffset()abstract java.util.OptionalLonggetSliceFirst()abstract java.util.OptionalLonggetSliceLast()abstract java.util.OptionalLonggetSuffixLength()abstract booleanisFromOffset()abstract booleanisSlice()abstract booleanisSuffix()
-
-
-
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)
-
-