Package akka.http.scaladsl.model.headers
Class ByteRange.Suffix
java.lang.Object
akka.http.javadsl.model.headers.ByteRange
akka.http.scaladsl.model.headers.ByteRange
akka.http.scaladsl.model.headers.ByteRange.Suffix
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- ByteRange
Used to specify the last
length
bytes of an entity. If the entity is shorter than the given length
, then the
range spans the entire entity.- See Also:
-
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
-
Method Summary
Methods inherited from class akka.http.scaladsl.model.headers.ByteRange
apply, fromOffset, getOffset, getSliceFirst, getSliceLast, isFromOffset, isSlice, 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.Equals
canEqual, equals
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
-
Constructor Details
-
Suffix
public Suffix(long length)
-
-
Method Details
-
length
public long length() -
render
- Specified by:
render
in interfaceRenderable
-
isSuffix
public boolean isSuffix()Java API -
getSuffixLength
Java API- Overrides:
getSuffixLength
in classByteRange
-