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 SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRangeByteRange.FromOffset, ByteRange.FromOffset$, ByteRange.Slice, ByteRange.Slice$, ByteRange.Suffix, ByteRange.Suffix$
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.pekko.http.scaladsl.model.headers.ByteRangeapply, fromOffset, getOffset, getSliceFirst, getSliceLast, isFromOffset, isSlice, suffixMethods inherited from class org.apache.pekko.http.javadsl.model.headers.ByteRangecreateFromOffset, createSlice, createSuffixMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoStringMethods inherited from interface org.apache.pekko.http.impl.util.ValueRenderablevalue
- 
Constructor Details- 
Suffixpublic Suffix(long length) 
 
- 
- 
Method Details- 
lengthpublic long length()
- 
render- Specified by:
- renderin interface- Renderable
 
- 
isSuffixpublic boolean isSuffix()Java API
- 
getSuffixLengthJava API- Overrides:
- getSuffixLengthin class- ByteRange
 
 
-