Package akka.http.scaladsl.model.headers
Class ByteRange$
- java.lang.Object
-
- akka.http.scaladsl.model.headers.ByteRange$
-
public class ByteRange$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ByteRange$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ByteRange$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteRange.Slice
apply(long first, long last)
ByteRange.FromOffset
fromOffset(long offset)
ByteRange.Suffix
suffix(long length)
Constructs a range that spans the last `length` bytes of an entity.
-
-
-
Field Detail
-
MODULE$
public static final ByteRange$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public ByteRange.Slice apply(long first, long last)
-
fromOffset
public ByteRange.FromOffset fromOffset(long offset)
-
suffix
public ByteRange.Suffix suffix(long length)
Constructs a range that spans the last `length` bytes of an entity.
-
-