public static final class ByteRange.Suffix extends ByteRange implements scala.Product, java.io.Serializable
length
bytes of an entity. If the entity is shorter than the given length
, then the
range spans the entire entity.ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$
Constructor and Description |
---|
Suffix(long length) |
Modifier and Type | Method and Description |
---|---|
java.util.OptionalLong |
getSuffixLength()
Java API
|
boolean |
isSuffix()
Java API
|
long |
length() |
<R extends Rendering> |
render(R r) |
apply, fromOffset, getOffset, getSliceFirst, getSliceLast, isFromOffset, isSlice, suffix
createFromOffset, createSlice, createSuffix
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
value
toString
public long length()
public <R extends Rendering> Rendering render(R r)
render
in interface Renderable
public java.util.OptionalLong getSuffixLength()
getSuffixLength
in class ByteRange