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, suffixMethods inherited from class org.apache.pekko.http.javadsl.model.headers.ByteRange
createFromOffset, createSlice, createSuffixMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toStringMethods 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:
renderin interfaceRenderable
-
isSuffix
public boolean isSuffix()Java API -
getSuffixLength
Java API- Overrides:
getSuffixLengthin classByteRange
-