Package akka.http.scaladsl.model.headers
Class ByteRange.FromOffset
- java.lang.Object
-
- akka.http.javadsl.model.headers.ByteRange
-
- akka.http.scaladsl.model.headers.ByteRange
-
- akka.http.scaladsl.model.headers.ByteRange.FromOffset
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ByteRange
public static final class ByteRange.FromOffset extends ByteRange implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.headers.ByteRange
ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$
-
-
Constructor Summary
Constructors Constructor Description FromOffset(long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.OptionalLong
getOffset()
Java APIboolean
isFromOffset()
Java APIlong
offset()
<R extends Rendering>
Renderingrender(R r)
-
Methods inherited from class akka.http.scaladsl.model.headers.ByteRange
apply, fromOffset, getSliceFirst, getSliceLast, getSuffixLength, isSlice, isSuffix, suffix
-
Methods inherited from class akka.http.javadsl.model.headers.ByteRange
createFromOffset, createSlice, createSuffix
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
-
-
-
Method Detail
-
offset
public long offset()
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
isFromOffset
public boolean isFromOffset()
Java API- Overrides:
isFromOffset
in classByteRange
-
-