Class ByteRange.Suffix
java.lang.Object
org.apache.pekko.http.javadsl.model.headers.ByteRange
org.apache.pekko.http.scaladsl.model.headers.ByteRange
org.apache.pekko.http.scaladsl.model.headers.ByteRange.Suffix
- All Implemented Interfaces:
Serializable
,Renderable
,ToStringRenderable
,ValueRenderable
,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 org.apache.pekko.http.scaladsl.model.headers.ByteRange
ByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRange
apply, fromOffset, getOffset, getSliceFirst, getSliceLast, isFromOffset, isSlice, suffix
Methods inherited from class org.apache.pekko.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 org.apache.pekko.http.impl.util.ToStringRenderable
toString
Methods inherited from interface org.apache.pekko.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
-